diff options
author | c00149107 <chenchuanyu@huawei.com> | 2017-11-22 09:11:53 +0800 |
---|---|---|
committer | c00149107 <chenchuanyu@huawei.com> | 2017-11-22 09:15:04 +0800 |
commit | 89ac95e4d148bf2b95a428893fbd3c448908d87e (patch) | |
tree | 9f8adc17872ee55d4c6031596cac15201791ad10 | |
parent | 23c7215c93bb0a992874b1a199391cfa5bebfcec (diff) |
Fix Json Analyze failed issue
Fix Json Analyze failed issue
Issue-ID: SO-348
Change-Id: Iffddccb2d8c15d954920dd1f6529e2e2b7656b87
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
-rw-r--r-- | bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java | 4 |
1 files changed, 2 insertions, 2 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..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
|