commit | 85868448194a7dcf9b375a5db15e55489c9f20ea | [log] [tgz] |
---|---|---|
author | lishuai <lishuai12@huawei.com> | Mon Aug 17 10:24:47 2015 +0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Aug 18 00:28:38 2015 +0000 |
tree | b3a9aede8085071b600b5515d70bc3870d5410ff | |
parent | 810d6e7412a4b61de60048a0c14bd6f8962b0c13 [diff] |
[ONOS-2633]modify the bug of ParamUtil class. When for transact operation issued by the configuration, the string of params should not have '[]', but there is '[]'. Change-Id: Ia93282fbe30b6d72e00fd1fb1d66d9f5076859c8
diff --git a/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/utils/ParamUtil.java b/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/utils/ParamUtil.java index 8fbbf42..fd62581 100644 --- a/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/utils/ParamUtil.java +++ b/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/utils/ParamUtil.java
@@ -79,6 +79,8 @@ * @return List of Object, the params of transact request */ public static List<Object> getTransactParams(DatabaseSchema dbSchema, List<Operation> operations) { - return Lists.newArrayList(dbSchema.name(), operations); + List<Object> lists = Lists.newArrayList(dbSchema.name()); + lists.addAll(operations); + return lists; } }