Refactor: Rename a method
Change-Id: I43f94df138b63c6312ef317f8dd18063dc1938f6
diff --git a/core/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java b/core/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java
index 8728c5d..cf199ec 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java
@@ -109,7 +109,7 @@
return abortTransaction(tx);
}
- if (!appendValue(childTxMap, resource, children)) {
+ if (!appendValues(childTxMap, resource, children)) {
return abortTransaction(tx);
}
@@ -276,7 +276,7 @@
* @param <V> type of the element of the list
* @return true if the operation succeeds, false otherwise.
*/
- private <K, V> boolean appendValue(TransactionalMap<K, List<V>> map, K key, List<V> values) {
+ private <K, V> boolean appendValues(TransactionalMap<K, List<V>> map, K key, List<V> values) {
List<V> oldValues = map.get(key);
List<V> newValues;
if (oldValues == null) {