directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r883176 - /directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/DefaultSchemaService.java
Date Sun, 22 Nov 2009 22:51:06 GMT
Author: elecharny
Date: Sun Nov 22 22:51:05 2009
New Revision: 883176

URL: http://svn.apache.org/viewvc?rev=883176&view=rev
Log:
Small fix to avoid a direct usage of the ATRegistry

Modified:
    directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/DefaultSchemaService.java

Modified: directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/DefaultSchemaService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/DefaultSchemaService.java?rev=883176&r1=883175&r2=883176&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/DefaultSchemaService.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/DefaultSchemaService.java
Sun Nov 22 22:51:05 2009
@@ -92,7 +92,7 @@
             return true;
         }
 
-        LdapDN dn = new LdapDN( dnString ).normalize( schemaPartition.getRegistries().getAttributeTypeRegistry().getNormalizerMapping()
);
+        LdapDN dn = new LdapDN( dnString ).normalize( schemaPartition.getSchemaManager().getNormalizerMapping()
);
         return dn.getNormName().equals( ServerDNConstants.CN_SCHEMA_DN_NORMALIZED );
     }
 



Mime
View raw message