directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r357576 - in /directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema: AcceptAllSyntaxChecker.java BinarySyntaxChecker.java SyntaxChecker.java
Date Mon, 19 Dec 2005 00:00:17 GMT
Author: elecharny
Date: Sun Dec 18 16:00:10 2005
New Revision: 357576

URL: http://svn.apache.org/viewcvs?rev=357576&view=rev
Log:
Added a toString() method

Modified:
    directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/AcceptAllSyntaxChecker.java
    directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/BinarySyntaxChecker.java
    directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/SyntaxChecker.java

Modified: directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/AcceptAllSyntaxChecker.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/AcceptAllSyntaxChecker.java?rev=357576&r1=357575&r2=357576&view=diff
==============================================================================
--- directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/AcceptAllSyntaxChecker.java
(original)
+++ directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/AcceptAllSyntaxChecker.java
Sun Dec 18 16:00:10 2005
@@ -19,7 +19,6 @@
 
 import javax.naming.NamingException;
 
-
 /**
  * A SyntaxChecker implementation which accepts all values as valid.
  *
@@ -70,5 +69,13 @@
      */
     public void assertSyntax( Object value ) throws NamingException
     {
+    }
+    
+    /**
+     * A String representation of this class
+     */
+    public String toString()
+    {
+    	return "AcceptAllSyntaxChecker : " + oid;
     }
 }

Modified: directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/BinarySyntaxChecker.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/BinarySyntaxChecker.java?rev=357576&r1=357575&r2=357576&view=diff
==============================================================================
--- directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/BinarySyntaxChecker.java
(original)
+++ directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/BinarySyntaxChecker.java
Sun Dec 18 16:00:10 2005
@@ -30,6 +30,7 @@
 {
     /** an instance so we don't have to create one every time */
     public static final SyntaxChecker INSTANCE = new BinarySyntaxChecker();
+    
     /** the Apache assigned internal OID for this syntax checker */
     public static final String OID = "1.3.6.1.4.1.1466.115.121.1.5";
 
@@ -78,5 +79,13 @@
     public boolean isValidSyntax( Object value )
     {
         return true;
+    }
+    
+    /**
+     * A String representation of this class
+     */
+    public String toString()
+    {
+    	return "BinarySyntaxChecker : " + OID;
     }
 }

Modified: directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/SyntaxChecker.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/SyntaxChecker.java?rev=357576&r1=357575&r2=357576&view=diff
==============================================================================
--- directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/SyntaxChecker.java
(original)
+++ directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/schema/SyntaxChecker.java
Sun Dec 18 16:00:10 2005
@@ -59,7 +59,6 @@
  * to enforce a syntax within the Eve server.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
  */
 public interface SyntaxChecker
 {



Mime
View raw message