Fixed a bug in ReplicatedChronicleMap.wasRemoved() method

This commit is contained in:
leventov
2014-10-05 06:06:52 +04:00
parent efc04f8a98
commit d35be141c2
@@ -558,7 +558,7 @@ class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, KI>,
public boolean wasRemoved(@NotNull Bytes entry) {
final long start = entry.position();
try {
return entry.readBoolean(keySizeMarshaller.readSize(entry) + 10);
return entry.readBoolean(keySizeMarshaller.readSize(entry) + 9);
} finally {
entry.position(start);
}