lishuai
Committed by Gerrit Code Review

[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
......@@ -79,6 +79,8 @@ public final class ParamUtil {
* @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;
}
}
......