directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1730283 - /directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
Date Sun, 14 Feb 2016 00:12:01 GMT
Author: elecharny
Date: Sun Feb 14 00:12:01 2016
New Revision: 1730283

URL: http://svn.apache.org/viewvc?rev=1730283&view=rev
Log:
Get the schema using the internal schemaMap

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

Modified: directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java?rev=1730283&r1=1730282&r2=1730283&view=diff
==============================================================================
--- directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
(original)
+++ directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
Sun Feb 14 00:12:01 2016
@@ -466,7 +466,7 @@ public class DefaultSchemaManager implem
             {
                 for ( String dependency : schema.getDependencies() )
                 {
-                    Schema dependencySchema = schema.getSchemaLoader().getSchema( dependency
);
+                    Schema dependencySchema = schemaMap.get( dependency );
 
                     if ( dependencySchema.isDisabled() )
                     {



Mime
View raw message