directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r528615 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Date Fri, 13 Apr 2007 19:25:02 GMT
Author: elecharny
Date: Fri Apr 13 12:25:01 2007
New Revision: 528615

URL: http://svn.apache.org/viewvc?view=rev&rev=528615
Log:
Changed the assertSyntaxes() method to get the correct syntaxCheckers

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

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java?view=diff&rev=528615&r1=528614&r2=528615
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Fri Apr 13 12:25:01 2007
@@ -2005,7 +2005,7 @@
             Attribute attribute = ( Attribute ) attributes.nextElement();
 
             AttributeType attributeType = registries.getAttributeTypeRegistry().lookup( attribute.getID()
);
-            SyntaxChecker syntaxChecker =  attributeType.getSyntax().getSyntaxChecker();
+            SyntaxChecker syntaxChecker =  registries.getSyntaxCheckerRegistry().lookup(
attributeType.getSyntax().getOid() );
             
             if ( syntaxChecker instanceof AcceptAllSyntaxChecker )
             {



Mime
View raw message