o added support for replacing value of an existing key
authorKiran Ayyagari <kayyagari@apache.org>
Sun, 3 Aug 2014 18:25:41 +0000 (18:25 +0000)
committerKiran Ayyagari <kayyagari@apache.org>
Sun, 3 Aug 2014 18:25:41 +0000 (18:25 +0000)
commit32b7b4b2e880590ed33ca76dbda8983761ea3179
tree8f31c4101f6c73efff23882a950dda8f5cfe0baa
parentb6102dad2a6809eb4c927007bad0b8147d69271f
o added support for replacing value of an existing key
o fixed an issue in InMemoryBTree when a key already exists
o fixed an NPE in findLeftMost() findRightMost() of PersistedLeaf of a persisted sub-BTree
o made RevisionName serializable
o added and updated tests
12 files changed:
mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractValueHolder.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryBTree.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/InMemoryLeaf.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedValueHolder.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/RevisionName.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/SpaceReclaimer.java
mavibot/src/main/java/org/apache/directory/mavibot/btree/ValueHolder.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/InMemoryBTreeDuplicateKeyTest.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/InMemoryBTreeTest.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedBTreeBrowseTest.java
mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedBTreeDuplicateKeyTest.java