CE-20 changed put to getAndPut

This commit is contained in:
Rob Austin
2015-04-06 18:54:40 +01:00
parent 272f20f15e
commit d627b2781b
2 changed files with 6 additions and 6 deletions
@@ -344,7 +344,7 @@ class ClientWiredStatelessChronicleMap<K, V>
public V put(K key, V value) {
if (key == null || value == null)
throw new NullPointerException();
return proxyReturnTypedObject(putReturnsNull ? putWithoutAcc : put, vClass, key,
return proxyReturnTypedObject(putReturnsNull ? put : getAndPut, vClass, key,
value);
}
@@ -989,7 +989,7 @@ class ClientWiredStatelessChronicleMap<K, V>
switch (methodName) {
case putAllWithoutAcc:
case putWithoutAcc:
case put:
case removeWithoutAcc:
return true;
default: