More bug fixes

This commit is contained in:
leventov
2015-01-19 09:01:29 +07:00
parent 55763cdb4b
commit a36e1bcfb7
3 changed files with 22 additions and 12 deletions
@@ -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();
}