directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1805316 - /directory/shared/branches/shared-value/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
Date Thu, 17 Aug 2017 16:49:09 GMT
Author: elecharny
Date: Thu Aug 17 16:49:08 2017
New Revision: 1805316

URL: http://svn.apache.org/viewvc?rev=1805316&view=rev
Log:
Use the dependency schema name to check if it's already loaded, instead of teh schemaName

Modified:
    directory/shared/branches/shared-value/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java

Modified: directory/shared/branches/shared-value/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java?rev=1805316&r1=1805315&r2=1805316&view=diff
==============================================================================
--- directory/shared/branches/shared-value/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
(original)
+++ directory/shared/branches/shared-value/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
Thu Aug 17 16:49:08 2017
@@ -1322,7 +1322,7 @@ public class DefaultSchemaManager implem
          */
         for ( String depName : deps )
         {
-            if ( registries.isSchemaLoaded( schemaName ) )
+            if ( registries.isSchemaLoaded( depName ) )
             {
                 // The schema is already loaded. Loop on the next schema
                 continue;



Mime
View raw message