updated coding rules.
[utils] / security / src / main / java / org / wamblee / security / authorization / RegexpPathCondition.java
index 5c373e8435db1880c916d67732e6edc0f1ea729a..2cde6808f21851f58649f2b2633c868d5ee6893e 100644 (file)
@@ -28,14 +28,14 @@ public class RegexpPathCondition extends AbstractPersistent implements PathCondi
     /**
      * String the path must start with. 
      */
-    private String _pattern; 
+    private String pattern; 
     
     /**
      * Constructs the condition. 
      * @param aPattern String the path must start with. 
      */
     public RegexpPathCondition(String aPattern) { 
-        _pattern = aPattern; 
+        pattern = aPattern; 
     }
     
     /**
@@ -43,28 +43,28 @@ public class RegexpPathCondition extends AbstractPersistent implements PathCondi
      *
      */
     protected RegexpPathCondition() { 
-        _pattern = null; 
+        pattern = null; 
     }
 
     /* (non-Javadoc)
      * @see org.wamblee.security.authorization.PathCondition#matches(java.lang.String)
      */
     public boolean matches(String aPath) {
-        return aPath.matches(_pattern);
+        return aPath.matches(pattern);
     }
 
     /**
      * @return Returns the _path.
      */
     protected String getPattern() {
-        return _pattern;
+        return pattern;
     }
 
     /**
      * @param aPattern The _path to set.
      */
     protected void setPattern(String aPattern) {
-        _pattern = aPattern;
+        pattern = aPattern;
     }
     
     /* (non-Javadoc)
@@ -72,6 +72,6 @@ public class RegexpPathCondition extends AbstractPersistent implements PathCondi
      */
     @Override
     public String toString() {
-        return "RegexpCondition(pattern = '" + _pattern + "')";
+        return "RegexpCondition(pattern = '" + pattern + "')";
     }
 }