Skip to content

Commit 6a1d04f

Browse files
author
phishman3579
committed
Removed an unnessacary line of code in B-Tree
git-svn-id: https://java-algorithms-implementation.googlecode.com/svn/trunk@383 032fbc0f-8cab-eb90-e552-f08422b9a96a
1 parent c83781c commit 6a1d04f

File tree

1 file changed

+0
-1
lines changed
  • src/com/jwetherell/algorithms/data_structures

1 file changed

+0
-1
lines changed

src/com/jwetherell/algorithms/data_structures/BTree.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,6 @@ private T removeKey(int index) {
612612
if (index >= keysSize)
613613
return null;
614614
T value = keys[index];
615-
keys[index] = null;
616615
for (int i = index + 1; i < keysSize; i++) {
617616
// shift the rest of the keys down
618617
keys[i - 1] = keys[i];

0 commit comments

Comments
 (0)