From 264228ce4fec3204502f0e8f3b906ad12e192825 Mon Sep 17 00:00:00 2001 From: c00149107 Date: Wed, 22 Nov 2017 09:16:53 +0800 Subject: Fix Json Analyze failed Issue Fix Json Analyze failed Issue Issue-ID: SO-348 Change-Id: Ibfea7d2cfa5e62e4d8e251a17908d4f7bc8de154 Signed-off-by: c00149107 --- .../src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/MSOCoreBPMN/src/main') 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); -- cgit 1.2.3-korg