X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fusermgt%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthentication%2Fjpa%2FJpaGroupSet.java;h=f15454ef70eaf953c6678030edb7445d9895f0be;hb=3e8de23e00da80d5506c750a28e7d25f261eda92;hp=c928b843eba8d4f02149e381a0b1a089523c60eb;hpb=db9f2962e5c2fe846dc11292d578e6ca878e6716;p=utils 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 c928b843..f15454ef 100644 --- 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 @@ -36,8 +36,10 @@ public class JpaGroupSet implements GroupSet { private EntityManager em; /** - * Constructs the group set. - * @param aEm Contextual reference to an entity manager. + * Constructs the group set. + * + * @param aEm + * Contextual reference to an entity manager. */ public JpaGroupSet(EntityManager aEm) { em = aEm; @@ -50,7 +52,7 @@ public class JpaGroupSet implements GroupSet { 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; }