directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r806832 - in /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap: name/LdapDN.java schema/normalizers/DefaultStringNormalizer.java
Date Sat, 22 Aug 2009 10:29:13 GMT
Author: elecharny
Date: Sat Aug 22 10:29:12 2009
New Revision: 806832

URL: http://svn.apache.org/viewvc?rev=806832&view=rev
Log:
o Moved the DefaultStringNormalizer to the normalizers package
o Cjanged LdapDN to use the normalizers

Added:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/DefaultStringNormalizer.java
      - copied, changed from r806632, directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/DefaultStringNormalizer.java
Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java?rev=806832&r1=806831&r2=806832&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
Sat Aug 22 10:29:12 2009
@@ -37,6 +37,7 @@
 import javax.naming.NamingException;
 
 import org.apache.directory.shared.ldap.entry.client.ClientStringValue;
+import org.apache.directory.shared.ldap.schema.normalizers.DefaultStringNormalizer;
 import org.apache.directory.shared.ldap.schema.normalizers.OidNormalizer;
 import org.apache.directory.shared.ldap.util.StringTools;
 import org.slf4j.Logger;

Copied: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/DefaultStringNormalizer.java
(from r806632, directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/DefaultStringNormalizer.java)
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/DefaultStringNormalizer.java?p2=directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/DefaultStringNormalizer.java&p1=directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/DefaultStringNormalizer.java&r1=806632&r2=806832&rev=806832&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/DefaultStringNormalizer.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/DefaultStringNormalizer.java
Sat Aug 22 10:29:12 2009
@@ -17,10 +17,11 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.shared.ldap.name;
+package org.apache.directory.shared.ldap.schema.normalizers;
 
 import javax.naming.NamingException;
 
+import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.entry.Value;
 import org.apache.directory.shared.ldap.entry.client.ClientStringValue;
 import org.apache.directory.shared.ldap.schema.Normalizer;
@@ -36,7 +37,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class DefaultStringNormalizer implements Normalizer
+public class DefaultStringNormalizer extends Normalizer
 {
     // The serial UID
     private static final long serialVersionUID = 1L;
@@ -44,6 +45,13 @@
     /** A default String normalizer */
     private static final DefaultStringNormalizer NORMALIZER = new DefaultStringNormalizer();
     
+    protected DefaultStringNormalizer()
+    {
+        // TODO : This is probably not the correct OID ... 
+        super( SchemaConstants.CASE_IGNORE_MATCH_MR_OID );
+    }
+
+
     /**
      * {@inheritDoc}
      */



Mime
View raw message