updated coding rules.
[utils] / security / src / main / java / org / wamblee / security / authorization / GroupUserCondition.java
index 8949fc76bae8ae5fe6b4fb5f74fcb170a9d6d09d..c0e91896f50c6cc4476530bce8ae6b7fce24ee10 100644 (file)
@@ -29,14 +29,14 @@ public class GroupUserCondition extends AbstractPersistent implements UserCondit
     /**
      * Group the user must be in. 
      */
-    private String _group; 
+    private String group; 
     
     /**
      * Constructs the condition. 
      * @param aGroup Group the user must be in. 
      */
     public GroupUserCondition(String aGroup) {
-        _group = aGroup; 
+        group = aGroup; 
     }
     
     /**
@@ -44,28 +44,28 @@ public class GroupUserCondition extends AbstractPersistent implements UserCondit
      *
      */
     protected GroupUserCondition() { 
-        _group = null; 
+        group = null; 
     }
 
     /* (non-Javadoc)
      * @see org.wamblee.security.authorization.UserCondition#matches(org.wamblee.usermgt.UserAccessor)
      */
     public boolean matches(User aUser) { 
-        return aUser.isInGroup(_group); 
+        return aUser.isInGroup(group); 
     }
 
     /**
-     * @return Returns the _group.
+     * @return Returns the group.
      */
     protected String getGroup() {
-        return _group;
+        return group;
     }
 
     /**
-     * @param _group The _group to set.
+     * @param group The group to set.
      */
     protected void setGroup(String aGroup) {
-        _group = aGroup;
+        group = aGroup;
     }
 
     /* (non-Javadoc)
@@ -73,7 +73,7 @@ public class GroupUserCondition extends AbstractPersistent implements UserCondit
      */
     @Override
     public String toString() {
-        return "GroupUserCondition(group=" + _group + ")";
+        return "GroupUserCondition(group=" + group + ")";
     }
     
 }