DistributedLinkResourceStore
Change-Id: Ia45c221946693906c12d64f20f25e30786a04224
diff --git a/core/api/src/main/java/org/onlab/onos/store/service/WriteRequest.java b/core/api/src/main/java/org/onlab/onos/store/service/WriteRequest.java
index 3234bea..bc2f527 100644
--- a/core/api/src/main/java/org/onlab/onos/store/service/WriteRequest.java
+++ b/core/api/src/main/java/org/onlab/onos/store/service/WriteRequest.java
@@ -64,13 +64,13 @@
*
* @param tableName name of the table
* @param key key in the table
- * @param newValue value to write, must not be null
* @param oldValue previous value expected, must not be null
+ * @param newValue value to write, must not be null
* @return WriteRequest
*/
public static WriteRequest putIfValueMatches(String tableName, String key,
- byte[] newValue,
- byte[] oldValue) {
+ byte[] oldValue,
+ byte[] newValue) {
return new WriteRequest(PUT_IF_VALUE, tableName, key,
checkNotNull(newValue), ANY_VERSION,
checkNotNull(oldValue));