directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r894465 - /directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
Date Tue, 29 Dec 2009 19:12:32 GMT
Author: elecharny
Date: Tue Dec 29 19:12:31 2009
New Revision: 894465

URL: http://svn.apache.org/viewvc?rev=894465&view=rev
Log:
Added a method to add partitions easily

Modified:
    directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java

Modified: directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java?rev=894465&r1=894464&r2=894465&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
Tue Dec 29 19:12:31 2009
@@ -164,6 +164,15 @@
     }
 
 
+    public void addIndexedAttributes( Index<?,ServerEntry>... indexes )
+    {
+        for ( Index<?,ServerEntry> index : indexes )
+        {
+            indexedAttributes.add( index );
+        }
+    }
+
+
     public Set<Index<?,ServerEntry>> getIndexedAttributes()
     {
         return indexedAttributes;



Mime
View raw message