directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r901299 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
Date Wed, 20 Jan 2010 17:39:46 GMT
Author: elecharny
Date: Wed Jan 20 17:39:46 2010
New Revision: 901299

URL: http://svn.apache.org/viewvc?rev=901299&view=rev
Log:
Fixed a wrong if test which makes the code failig when run in java 
1.5
(DIRSHARED-47)

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java?rev=901299&r1=901298&r2=901299&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
Wed Jan 20 17:39:46 2010
@@ -1519,7 +1519,7 @@
         LOG.debug( "Registering {}:{}", schemaObject.getObjectType(), schemaObject.getOid()
);
 
         // Check that the SchemaObject is not already registered
-        if ( !( schemaObject instanceof LoadableSchemaObject ) )
+        if ( schemaObject instanceof LoadableSchemaObject )
         {
             // TODO : Check for existing Loadable SchemaObject
         }



Mime
View raw message