diff options
author | c00149107 <chenchuanyu@huawei.com> | 2017-11-22 09:16:53 +0800 |
---|---|---|
committer | c00149107 <chenchuanyu@huawei.com> | 2017-11-22 09:18:09 +0800 |
commit | 264228ce4fec3204502f0e8f3b906ad12e192825 (patch) | |
tree | a514a6c091e723018f6465659f98da6981a4d9da | |
parent | 5f8f48521c763419781fafd0db92f4763846c5bd (diff) |
Fix Json Analyze failed Issue
Fix Json Analyze failed Issue
Issue-ID: SO-348
Change-Id: Ibfea7d2cfa5e62e4d8e251a17908d4f7bc8de154
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
-rw-r--r-- | bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java index d0de819e03..640dc697a2 100644 --- a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java +++ b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java @@ -928,7 +928,7 @@ public class JsonUtils { JSONObject obj = new JSONObject(stringListJson);
JSONArray arr = obj.getJSONArray("strings");
for (int i = 0; i < arr.length(); i++){
- String s = arr.getString(i);
+ String s = arr.get(i).toString();
list.add(s);
}
msoLogger.debug("Outgoing List is: " + list);
|