directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r981915 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java
Date Tue, 03 Aug 2010 15:05:29 GMT
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 ) )
             {



Mime
View raw message