You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/08/03 17:05:29 UTC

svn commit: r981915 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java

Author: kayyagari
Date: Tue Aug  3 15:05:29 2010
New Revision: 981915

URL: http://svn.apache.org/viewvc?rev=981915&view=rev
Log:
o updated to use OID instead name of the attribute

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java?rev=981915&r1=981914&r2=981915&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java Tue Aug  3 15:05:29 2010
@@ -384,7 +384,7 @@ public class SchemaChecker
         
         for ( AttributeType attributeType:entry.getAttributeTypes() )
         {
-            String id = attributeType.getName();
+            String id = attributeType.getOid();
 
             if ( rdnAttributes.contains( id ) )
             {
@@ -533,7 +533,7 @@ public class SchemaChecker
         
         for ( AttributeType attributeType:entry.getAttributeTypes() )
         {
-            String id = attributeType.getName();
+            String id = attributeType.getOid();
 
             if ( rdnAttributes.contains( id ) )
             {