directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r488476 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApachemetaSyntaxCheckerProducer.java
Date Tue, 19 Dec 2006 00:57:15 GMT
Author: elecharny
Date: Mon Dec 18 16:57:14 2006
New Revision: 488476

URL: http://svn.apache.org/viewvc?view=rev&rev=488476
Log:
Direct calls to DEFAULT_OID has been prohibited, so they were replaced by a call to the getSyntaxOid()
method

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApachemetaSyntaxCheckerProducer.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApachemetaSyntaxCheckerProducer.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApachemetaSyntaxCheckerProducer.java?view=diff&rev=488476&r1=488475&r2=488476
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApachemetaSyntaxCheckerProducer.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/bootstrap/ApachemetaSyntaxCheckerProducer.java
Mon Dec 18 16:57:14 2006
@@ -59,9 +59,9 @@
         SyntaxChecker checker = null;
         
         checker = new NumericOidSyntaxChecker();
-        cb.schemaObjectProduced( this, NumericOidSyntaxChecker.DEFAULT_OID, checker );
+        cb.schemaObjectProduced( this, checker.getSyntaxOid(), checker );
         
         checker = new ObjectClassTypeSyntaxChecker();
-        cb.schemaObjectProduced( this, ObjectClassTypeSyntaxChecker.DEFAULT_OID, checker
);
+        cb.schemaObjectProduced( this, checker.getSyntaxOid(), checker );
     }
 }



Mime
View raw message