mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Tidy code
This commit is contained in:
@@ -333,7 +333,7 @@ public class VanillaChronicleMap<K, V, R>
|
||||
public boolean equals(final Object obj) {
|
||||
throwExceptionIfClosed();
|
||||
|
||||
return mapEquals(obj);
|
||||
return mapEquals(obj);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -773,7 +773,7 @@ public class VanillaChronicleMap<K, V, R>
|
||||
public boolean remove(@NotNull final Object key, final Object value) {
|
||||
throwExceptionIfClosed();
|
||||
|
||||
if (value == null)
|
||||
if (value == null)
|
||||
return false; // ConcurrentHashMap compatibility
|
||||
final V v = checkValue(value);
|
||||
try (QueryContextInterface<K, V, R> q = queryContext(key)) {
|
||||
|
||||
Reference in New Issue
Block a user