From: c00149107 Date: Wed, 22 Nov 2017 01:11:53 +0000 (+0800) Subject: Fix Json Analyze failed issue X-Git-Tag: v1.1.2~6 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=89ac95e4d148bf2b95a428893fbd3c448908d87e;p=so.git Fix Json Analyze failed issue Fix Json Analyze failed issue Issue-ID: SO-348 Change-Id: Iffddccb2d8c15d954920dd1f6529e2e2b7656b87 Signed-off-by: c00149107 --- 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..1739ffc257 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,14 +928,14 @@ 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); msoLogger.debug("Completed String Array To List Util Method"); return list; } - + /** * * Invokes the getJsonRawValue() method to determine if the