mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fixed a bug in ReplicatedChronicleMap.wasRemoved() method
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user