Removed excessive code from ReplicatedMapAbsent.doInsert() method

This commit is contained in:
leventov
2016-02-24 16:43:14 +07:00
parent 820573a684
commit 1a275288b5
@@ -43,8 +43,6 @@ public abstract class ReplicatedMapAbsent<K, V> extends MapAbsent<K, V> {
@Override
public void doInsert(Data<V> value) {
q.putPrefix();
// TODO relax locks only after spec completion and analysis
s.innerUpdateLock.lock();
if (!q.entryPresent()) {
if (!ks.searchStatePresent()) {
putEntry(value);