directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r942624 - /directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
Date Sun, 09 May 2010 21:53:46 GMT
Author: elecharny
Date: Sun May  9 21:53:46 2010
New Revision: 942624

URL: http://svn.apache.org/viewvc?rev=942624&view=rev
Log:
Minor refactoring

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

Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java?rev=942624&r1=942623&r2=942624&view=diff
==============================================================================
--- directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
(original)
+++ directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DSAnnotationProcessor.java
Sun May  9 21:53:46 2010
@@ -123,6 +123,7 @@ public class DSAnnotationProcessor
                     for ( CreateIndex createIndex : indexes )
                     {
                         Index index;
+                        
                         if ( createIndex.type() == Index.class )
                         {
                             // The annotation does not specify a specific index type.
@@ -136,6 +137,7 @@ public class DSAnnotationProcessor
                             index.setAttributeId( createIndex.attribute() );
                             index.setCacheSize( createIndex.cacheSize() );
                         }
+                        
                         btreePartition.addIndexedAttributes( index );
                     }
                 }



Mime
View raw message