Brian O'Connor

Fix for HZ intent store

The old value should be 'null'

Change-Id: I55d7826faa2c24bc911e6cc85be7d0e8bdc69c36
......@@ -180,7 +180,7 @@ public class HazelcastIntentStore
prevParking = states.get(id);
if (prevParking == null) {
IntentState existing = states.putIfAbsent(id, SUBMITTED);
verify(existing != null, "Conditional replace %s => %s failed", prevParking, SUBMITTED);
verify(existing == null, "Conditional replace %s => %s failed", prevParking, SUBMITTED);
} else {
verify(prevParking == WITHDRAWN,
"Illegal state transition attempted from %s to SUBMITTED",
......