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
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -79,6 +79,8 @@ public final class ParamUtil { | ... | @@ -79,6 +79,8 @@ public final class ParamUtil { |
79 | * @return List of Object, the params of transact request | 79 | * @return List of Object, the params of transact request |
80 | */ | 80 | */ |
81 | public static List<Object> getTransactParams(DatabaseSchema dbSchema, List<Operation> operations) { | 81 | public static List<Object> getTransactParams(DatabaseSchema dbSchema, List<Operation> operations) { |
82 | - return Lists.newArrayList(dbSchema.name(), operations); | 82 | + List<Object> lists = Lists.newArrayList(dbSchema.name()); |
83 | + lists.addAll(operations); | ||
84 | + return lists; | ||
83 | } | 85 | } |
84 | } | 86 | } | ... | ... |
-
Please register or login to post a comment