directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r568068 - /directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultRegistries.java
Date Tue, 21 Aug 2007 11:27:08 GMT
Author: elecharny
Date: Tue Aug 21 04:27:07 2007
New Revision: 568068

URL: http://svn.apache.org/viewvc?rev=568068&view=rev
Log:
Removed useless calles to getOidRegistry(), as we have a dirct access to the associated member

Modified:
    directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultRegistries.java

Modified: directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultRegistries.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultRegistries.java?rev=568068&r1=568067&r2=568068&view=diff
==============================================================================
--- directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultRegistries.java
(original)
+++ directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultRegistries.java
Tue Aug 21 04:27:07 2007
@@ -76,14 +76,14 @@
         normalizerRegistry = new DefaultNormalizerRegistry();
         comparatorRegistry = new DefaultComparatorRegistry();
         syntaxCheckerRegistry = new DefaultSyntaxCheckerRegistry();
-        syntaxRegistry = new DefaultSyntaxRegistry( getOidRegistry() );
-        matchingRuleRegistry = new DefaultMatchingRuleRegistry( getOidRegistry() );
-        attributeTypeRegistry = new DefaultAttributeTypeRegistry( getOidRegistry() );
-        objectClassRegistry = new DefaultObjectClassRegistry( getOidRegistry() );
-        ditContentRuleRegistry = new DefaultDitContentRuleRegistry( getOidRegistry() );
-        ditStructureRuleRegistry = new DefaultDitStructureRuleRegistry( getOidRegistry()
);
+        syntaxRegistry = new DefaultSyntaxRegistry( oidRegistry );
+        matchingRuleRegistry = new DefaultMatchingRuleRegistry( oidRegistry );
+        attributeTypeRegistry = new DefaultAttributeTypeRegistry( oidRegistry );
+        objectClassRegistry = new DefaultObjectClassRegistry( oidRegistry );
+        ditContentRuleRegistry = new DefaultDitContentRuleRegistry( oidRegistry );
+        ditStructureRuleRegistry = new DefaultDitStructureRuleRegistry( oidRegistry );
         matchingRuleUseRegistry = new DefaultMatchingRuleUseRegistry();
-        nameFormRegistry = new DefaultNameFormRegistry( getOidRegistry() );
+        nameFormRegistry = new DefaultNameFormRegistry( oidRegistry );
     }
 
 



Mime
View raw message