git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
security
/
usermgt
/
src
/
main
/
java
/
org
/
wamblee
/
security
/
authentication
/
jpa
/
JpaGroupSet.java
diff --git
a/security/usermgt/src/main/java/org/wamblee/security/authentication/jpa/JpaGroupSet.java
b/security/usermgt/src/main/java/org/wamblee/security/authentication/jpa/JpaGroupSet.java
index 5c076d72083a33d8651e3c7ae0379211b83fbdc3..f15454ef70eaf953c6678030edb7445d9895f0be 100644
(file)
--- a/
security/usermgt/src/main/java/org/wamblee/security/authentication/jpa/JpaGroupSet.java
+++ b/
security/usermgt/src/main/java/org/wamblee/security/authentication/jpa/JpaGroupSet.java
@@
-35,6
+35,12
@@
public class JpaGroupSet implements GroupSet {
private EntityManager em;
private EntityManager em;
+ /**
+ * Constructs the group set.
+ *
+ * @param aEm
+ * Contextual reference to an entity manager.
+ */
public JpaGroupSet(EntityManager aEm) {
em = aEm;
}
public JpaGroupSet(EntityManager aEm) {
em = aEm;
}
@@
-46,7
+52,7
@@
public class JpaGroupSet implements GroupSet {
return false;
}
em.persist(aGroup);
return false;
}
em.persist(aGroup);
- em.flush(); // to make sure the version is updated.
+ em.flush(); // to make sure the version is updated.
return true;
}
return true;
}