You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2008/05/11 04:05:08 UTC
svn commit: r655221 - in /directory/apacheds/branches/bigbang/jdbm-store/src:
main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/
test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/
Author: akarasulu
Date: Sat May 10 19:05:08 2008
New Revision: 655221
URL: http://svn.apache.org/viewvc?rev=655221&view=rev
Log:
fixing bug introduced on merge
Modified:
directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
directory/apacheds/branches/bigbang/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/KeyTupleBTreeCursorTest.java
Modified: directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java?rev=655221&r1=655220&r2=655221&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java (original)
+++ directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java Sat May 10 19:05:08 2008
@@ -156,7 +156,7 @@
// explicitly managed by this code. Value serialization is delegated to these
// marshallers.
- bt = BTree.createInstance( recMan, keyComparator, keySerializer, valueSerializer );
+ bt = BTree.createInstance( recMan, keyComparator, keySerializer, null );
recId = bt.getRecid();
recMan.setNamedObject( name, recId );
recId = recMan.insert( 0 );
Modified: directory/apacheds/branches/bigbang/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/KeyTupleBTreeCursorTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/KeyTupleBTreeCursorTest.java?rev=655221&r1=655220&r2=655221&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/KeyTupleBTreeCursorTest.java (original)
+++ directory/apacheds/branches/bigbang/jdbm-store/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/KeyTupleBTreeCursorTest.java Sat May 10 19:05:08 2008
@@ -18,6 +18,7 @@
*/
package org.apache.directory.server.core.partition.impl.btree.jdbm;
+
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertFalse;
import static junit.framework.Assert.assertTrue;
@@ -41,8 +42,8 @@
import org.junit.Before;
import org.junit.Test;
+
/**
- *
* Test case for KeyTupleBTreeCursor.
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
@@ -55,7 +56,7 @@
Comparator<Integer> comparator;
KeyTupleBTreeCursor<Integer, Integer> cursor;
- private static final Integer KEY = new Integer( 1 );
+ private static final Integer KEY = 1;
private static final String TEST_OUTPUT_PATH = "test.output.path";
@Before