directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1295582 - in /directory: apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/schema/ shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/
Date Thu, 01 Mar 2012 14:33:00 GMT
Author: elecharny
Date: Thu Mar  1 14:32:59 2012
New Revision: 1295582

URL: http://svn.apache.org/viewvc?rev=1295582&view=rev
Log:
Removed the setRegistries() method from SchemaObjects

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/schema/DescriptionParsers.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaObject.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/schema/DescriptionParsers.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/schema/DescriptionParsers.java?rev=1295582&r1=1295581&r2=1295582&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/schema/DescriptionParsers.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/schema/DescriptionParsers.java
Thu Mar  1 14:32:59 2012
@@ -283,7 +283,6 @@ public class DescriptionParsers
                     I18n.err( I18n.ERR_413, attributeType.getSubstringOid() ) );
             }
 
-            attributeType.setRegistries( schemaManager.getRegistries() );
             attributeTypes[pos++] = attributeType;
         }
 
@@ -372,8 +371,6 @@ public class DescriptionParsers
                 }
             }
 
-            objectClass.setRegistries( schemaManager.getRegistries() );
-
             objectClasses[pos++] = objectClass;
         }
 

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java?rev=1295582&r1=1295581&r2=1295582&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
Thu Mar  1 14:32:59 2012
@@ -30,7 +30,6 @@ import java.util.Map;
 import java.util.Set;
 
 import org.apache.directory.shared.i18n.I18n;
-import org.apache.directory.shared.ldap.model.schema.registries.Registries;
 import org.apache.directory.shared.util.Strings;
 
 
@@ -214,17 +213,6 @@ public abstract class AbstractSchemaObje
 
 
     /**
-     * Inject the Registries into the SchemaObject
-     *
-     * @param registries The Registries
-     */
-    public void setRegistries( Registries registries )
-    {
-        // do nothing
-    }
-
-
-    /**
      * Add a new name to the list of names for this SchemaObject. The name
      * is lowercased and trimmed.
      * 

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaObject.java?rev=1295582&r1=1295581&r2=1295582&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaObject.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaObject.java
Thu Mar  1 14:32:59 2012
@@ -23,8 +23,6 @@ package org.apache.directory.shared.ldap
 import java.util.List;
 import java.util.Map;
 
-import org.apache.directory.shared.ldap.model.schema.registries.Registries;
-
 
 /**
  * Most schema objects have some common attributes. This class
@@ -316,14 +314,6 @@ public interface SchemaObject
 
 
     /**
-     * Inject the Registries into the SchemaObject
-     *
-     * @param registries The Registries
-     */
-    void setRegistries( Registries registries );
-
-
-    /**
      * Transform the SchemaObject to an immutable object
      * TODO locked.
      *



Mime
View raw message