directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1378600 - /directory/apacheds/branches/apacheds-mvbt/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndex.java
Date Wed, 29 Aug 2012 15:04:55 GMT
Author: elecharny
Date: Wed Aug 29 15:04:55 2012
New Revision: 1378600

URL: http://svn.apache.org/viewvc?rev=1378600&view=rev
Log:
Removed the generic parameter from the ParentIdAndRdn, it's mplicitly an UUID

Modified:
    directory/apacheds/branches/apacheds-mvbt/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndex.java

Modified: directory/apacheds/branches/apacheds-mvbt/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndex.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndex.java?rev=1378600&r1=1378599&r2=1378600&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndex.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/jdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndex.java
Wed Aug 29 15:04:55 2012
@@ -48,7 +48,7 @@ import org.slf4j.LoggerFactory;
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class JdbmRdnIndex extends JdbmIndex<ParentIdAndRdn<UUID>, Entry>
+public class JdbmRdnIndex extends JdbmIndex<ParentIdAndRdn, Entry>
 {
 
     /** A logger for this class */
@@ -131,9 +131,9 @@ public class JdbmRdnIndex extends JdbmIn
 
         UuidComparator.INSTANCE.setSchemaManager( schemaManager );
 
-        forward = new JdbmTable<ParentIdAndRdn<UUID>, UUID>( schemaManager, attributeType.getOid()
+ FORWARD_BTREE,
+        forward = new JdbmTable<ParentIdAndRdn, UUID>( schemaManager, attributeType.getOid()
+ FORWARD_BTREE,
             recMan, comp, null, UuidSerializer.INSTANCE );
-        reverse = new JdbmTable<UUID, ParentIdAndRdn<UUID>>( schemaManager, attributeType.getOid()
+ REVERSE_BTREE,
+        reverse = new JdbmTable<UUID, ParentIdAndRdn>( schemaManager, attributeType.getOid()
+ REVERSE_BTREE,
             recMan, UuidComparator.INSTANCE, UuidSerializer.INSTANCE, null );
     }
 }



Mime
View raw message