directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1551839 - /directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotTable.java
Date Wed, 18 Dec 2013 04:48:39 GMT
Author: elecharny
Date: Wed Dec 18 04:48:38 2013
New Revision: 1551839

URL: http://svn.apache.org/r1551839
Log:
Use the BTreeFactory instead of the removed PersistedBTreeFactory

Modified:
    directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotTable.java

Modified: directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotTable.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotTable.java?rev=1551839&r1=1551838&r2=1551839&view=diff
==============================================================================
--- directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotTable.java
(original)
+++ directory/apacheds/trunk/mavibot-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotTable.java
Wed Dec 18 04:48:38 2013
@@ -29,6 +29,7 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.exception.LdapException;
 import org.apache.directory.api.ldap.model.schema.SchemaManager;
 import org.apache.directory.mavibot.btree.BTree;
+import org.apache.directory.mavibot.btree.BTreeFactory;
 import org.apache.directory.mavibot.btree.PersistedBTree;
 import org.apache.directory.mavibot.btree.RecordManager;
 import org.apache.directory.mavibot.btree.TupleCursor;
@@ -81,7 +82,7 @@ public class MavibotTable<K, V> extends 
 
         if ( bt == null )
         {
-            bt = new PersistedBTree<K, V>( name, keySerializer, valueSerializer, allowDuplicates,
cacheSize );
+            bt = BTreeFactory.createPersistedBTree( name, keySerializer, valueSerializer,
allowDuplicates, cacheSize );
 
             try
             {



Mime
View raw message