directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r555679 - /directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultOidRegistry.java
Date Thu, 12 Jul 2007 16:17:28 GMT
Author: akarasulu
Date: Thu Jul 12 09:17:27 2007
New Revision: 555679

URL: http://svn.apache.org/viewvc?view=rev&rev=555679
Log:
reducing the amount of memory allocated by the OID registry for each entry

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

Modified: directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultOidRegistry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultOidRegistry.java?view=diff&rev=555679&r1=555678&r2=555679
==============================================================================
--- directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultOidRegistry.java
(original)
+++ directory/apacheds/trunk/schema-registries/src/main/java/org/apache/directory/server/schema/registries/DefaultOidRegistry.java
Thu Jul 12 09:17:27 2007
@@ -282,7 +282,7 @@
                     return;
                 }
 
-                list = new ArrayList();
+                list = new ArrayList(2);
                 list.add( name );
                 list.add( value );
                 value = list;



Mime
View raw message