directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1030360 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Date Wed, 03 Nov 2010 09:00:25 GMT
Author: kayyagari
Date: Wed Nov  3 09:00:25 2010
New Revision: 1030360

URL: http://svn.apache.org/viewvc?rev=1030360&view=rev
Log:
o use BTreePartition instead of AbstractLdifPartition

Modified:
    directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java?rev=1030360&r1=1030359&r2=1030360&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Wed Nov  3 09:00:25 2010
@@ -39,7 +39,8 @@ import javax.naming.directory.SearchCont
 
 import org.apache.directory.server.config.beans.AdsBaseBean;
 import org.apache.directory.server.config.beans.ConfigBean;
-import org.apache.directory.server.core.partition.ldif.AbstractLdifPartition;
+import org.apache.directory.server.core.partition.Partition;
+import org.apache.directory.server.core.partition.impl.btree.BTreePartition;
 import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.server.xdbm.ForwardIndexEntry;
 import org.apache.directory.server.xdbm.IndexCursor;
@@ -74,7 +75,7 @@ public class ConfigPartitionReader
     private static final Logger LOG = LoggerFactory.getLogger( ConfigPartitionReader.class
);
 
     /** the partition which holds the configuration data */
-    private AbstractLdifPartition configPartition;
+    private BTreePartition configPartition;
 
     /** the search engine of the partition */
     private SearchEngine<Entry, Long> se;
@@ -100,7 +101,7 @@ public class ConfigPartitionReader
      * @param configPartition the non null config partition
      * @param partitionsDir the directory where all the partitions' data is stored
      */
-    public ConfigPartitionReader( AbstractLdifPartition configPartition, File partitionsDir
)
+    public ConfigPartitionReader( BTreePartition configPartition, File partitionsDir )
     {
         if ( configPartition == null )
         {



Mime
View raw message