directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1376035 - /directory/apacheds/branches/apacheds-mvbt/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
Date Wed, 22 Aug 2012 13:24:35 GMT
Author: elecharny
Date: Wed Aug 22 13:24:34 2012
New Revision: 1376035

URL: http://svn.apache.org/viewvc?rev=1376035&view=rev
Log:
Used the JdbmIndex(name) instead of the JdbmIndex() constructor

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

Modified: directory/apacheds/branches/apacheds-mvbt/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java?rev=1376035&r1=1376034&r2=1376035&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
Wed Aug 22 13:24:34 2012
@@ -187,8 +187,7 @@ public class DSAnnotationProcessor
                         // The annotation does not specify a specific index
                         // type.
                         // We use the generic index implementation.
-                        JdbmIndex index = new JdbmIndex();
-                        index.setAttributeId( createIndex.attribute() );
+                        JdbmIndex index = new JdbmIndex( createIndex.attribute() );
 
                         btreePartition.addIndexedAttributes( index );
                     }



Mime
View raw message