directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r487524 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntax/TelephoneNumberSyntaxChecker.java
Date Fri, 15 Dec 2006 12:01:44 GMT
Author: elecharny
Date: Fri Dec 15 04:01:41 2006
New Revision: 487524

URL: http://svn.apache.org/viewvc?view=rev&rev=487524
Log:
added some java doc, and modified a protection level as this class can be inherited

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntax/TelephoneNumberSyntaxChecker.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntax/TelephoneNumberSyntaxChecker.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntax/TelephoneNumberSyntaxChecker.java?view=diff&rev=487524&r1=487523&r2=487524
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntax/TelephoneNumberSyntaxChecker.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/syntax/TelephoneNumberSyntaxChecker.java
Fri Dec 15 04:01:41 2006
@@ -61,10 +61,11 @@
     /** The default pattern used to check a TelephoneNumber */
     private final String DEFAULT_REGEXP = "^ *[+]? *((\\([0-9- ]+\\))|[0-9- ]+)+$";
     
+    /** The compiled default pattern */
     private Pattern defaultPattern =  Pattern.compile( DEFAULT_REGEXP );
     
     /** A flag set when only the default regexp should be tested */
-    private boolean defaultMandatory = false;
+    protected boolean defaultMandatory = false;
     
     /**
      * Creates a new instance of TelephoneNumberSyntaxChecker.



Mime
View raw message