directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r506224 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
Date Mon, 12 Feb 2007 02:20:30 GMT
Author: akarasulu
Date: Sun Feb 11 18:20:29 2007
New Revision: 506224

URL: http://svn.apache.org/viewvc?view=rev&rev=506224
Log:
fixing breakage with MetaSyntaxHandlerITest

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

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java?view=diff&rev=506224&r1=506223&r2=506224
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java
Sun Feb 11 18:20:29 2007
@@ -230,6 +230,7 @@
                 return false;
             }
             
+            ne.next();
             if ( ne.hasMore() )
             {
                 throw new NamingException( "Got more than one matchingRule for oid of " +
oid );
@@ -272,6 +273,7 @@
                 return false;
             }
             
+            ne.next();
             if ( ne.hasMore() )
             {
                 throw new NamingException( "Got more than one syntax for oid of " + oid );
@@ -314,6 +316,7 @@
                 return false;
             }
             
+            ne.next();
             if ( ne.hasMore() )
             {
                 throw new NamingException( "Got more than one syntaxChecker for oid of "
+ oid );



Mime
View raw message