mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
More bug fixes
This commit is contained in:
@@ -1652,8 +1652,7 @@ public class ChronicleMapTest {
|
||||
}
|
||||
|
||||
// this will remove the entry
|
||||
try (MapKeyContext<LongValue> context = map.acquireContext("one", value)) {
|
||||
assert value == context.get();
|
||||
try (MapKeyContext<LongValue> context = map.context("one")) {
|
||||
context.remove();
|
||||
}
|
||||
|
||||
@@ -1789,7 +1788,7 @@ public class ChronicleMapTest {
|
||||
}
|
||||
|
||||
// this will remove the entry
|
||||
try (MapKeyContext<LongValue> context = map.acquireContext("one", value)) {
|
||||
try (MapKeyContext<LongValue> context = map.context("one")) {
|
||||
context.remove();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user