updated coding rules.
[utils] / security / src / test / java / org / wamblee / security / authorization / TestAuthorizationRule.java
index 93141fde1bdb00ce92a8377993c820e90c07b731..3644dc8384c00bea8f567d263da06132a7be30f8 100644 (file)
@@ -31,7 +31,7 @@ public class TestAuthorizationRule extends UrlAuthorizationRule {
     /**
      * Counts the number of matches. 
      */
-    private int _matches = 0; 
+    private int matches = 0; 
 
     public TestAuthorizationRule( AuthorizationResult aResult, String aGroup,
             String aPath, Class<? extends Operation> aOperation) {
@@ -59,17 +59,17 @@ public class TestAuthorizationRule extends UrlAuthorizationRule {
         
         AuthorizationResult result = super.isAllowed(aResource, anOperation, aUser);
         if ( result.equals(GRANTED) || result.equals(DENIED)) { 
-            _matches++; 
+            matches++; 
         }
         return result; 
     }
     
     public int getMatchCount() { 
-        return _matches; 
+        return matches; 
     }
     
     public void reset() { 
-        _matches = 0; 
+        matches = 0; 
     }
    
 }