(no commit message)
[utils] / security / usermgt / src / main / java / org / wamblee / security / authentication / jpa / JpaGroupSet.java
index 5c076d72083a33d8651e3c7ae0379211b83fbdc3..f15454ef70eaf953c6678030edb7445d9895f0be 100644 (file)
@@ -35,6 +35,12 @@ public class JpaGroupSet implements GroupSet {
 
     private EntityManager em;
 
+    /**
+     * Constructs the group set.
+     * 
+     * @param aEm
+     *            Contextual reference to an entity manager.
+     */
     public JpaGroupSet(EntityManager aEm) {
         em = aEm;
     }
@@ -46,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;
     }