commit | 5829c346b850bee3fdb4f1af8937f4e0971ef657 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Mon Mar 07 17:01:43 2016 -0800 |
committer | Simon Hunt <simon@onlab.us> | Mon Mar 07 17:01:43 2016 -0800 |
tree | 12513b8d1cf39392edaa7dd0280fbc0a25aa36a2 | |
parent | eba68177fcc28109154efe990340741cad51286c [diff] |
Fixed defect in CachingAsyncConsistentMap (wrong method call). Change-Id: I5873d1476ac68e6c2ee4462e629b00313214ef36
diff --git a/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/CachingAsyncConsistentMap.java b/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/CachingAsyncConsistentMap.java index 5054a0d..066c21d 100644 --- a/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/CachingAsyncConsistentMap.java +++ b/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/CachingAsyncConsistentMap.java
@@ -85,7 +85,7 @@ @Override public CompletableFuture<Versioned<V>> putAndGet(K key, V value) { - return super.put(key, value) + return super.putAndGet(key, value) .whenComplete((r, e) -> cache.invalidate(key)); }