directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1325060 - in /directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory: DSAnnotationProcessor.java JdbmPartitionFactory.java
Date Wed, 11 Apr 2012 23:15:59 GMT
Author: elecharny
Date: Wed Apr 11 23:15:58 2012
New Revision: 1325060

URL: http://svn.apache.org/viewvc?rev=1325060&view=rev
Log:
o Moved the partition initialization out of the JdbmParitionFactory.createPartition() method.
It's now called explicitely after the partition creation.

Modified:
    directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
    directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java

Modified: directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java?rev=1325060&r1=1325059&r2=1325060&view=diff
==============================================================================
--- directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
(original)
+++ directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
Wed Apr 11 23:15:58 2012
@@ -156,6 +156,8 @@ public class DSAnnotationProcessor
                     partitionFactory.addIndex( partition,
                         createIndex.attribute(), createIndex.cacheSize() );
                 }
+
+                partition.initialize();
             }
             else
             {

Modified: directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java?rev=1325060&r1=1325059&r2=1325060&view=diff
==============================================================================
--- directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
(original)
+++ directory/apacheds/branches/index-work/core-annotations/src/main/java/org/apache/directory/server/core/factory/JdbmPartitionFactory.java
Wed Apr 11 23:15:58 2012
@@ -51,7 +51,6 @@ public class JdbmPartitionFactory implem
         partition.setSuffixDn( new Dn( suffix ) );
         partition.setCacheSize( 500 );
         partition.setPartitionPath( workingDirectory.toURI() );
-        partition.initialize();
 
         return partition;
     }



Mime
View raw message