aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-config/appc-config-generator/provider/src/main/java/org/onap/sdnc/config/generator/tool/JSONTool.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-config/appc-config-generator/provider/src/main/java/org/onap/sdnc/config/generator/tool/JSONTool.java b/appc-config/appc-config-generator/provider/src/main/java/org/onap/sdnc/config/generator/tool/JSONTool.java
index fa1c0fee9..20aeacb3b 100644
--- a/appc-config/appc-config-generator/provider/src/main/java/org/onap/sdnc/config/generator/tool/JSONTool.java
+++ b/appc-config/appc-config-generator/provider/src/main/java/org/onap/sdnc/config/generator/tool/JSONTool.java
@@ -71,7 +71,7 @@ public class JSONTool {
//JSONObject.quote() will always return, at minimum, a string with two quotes,
//even if a null string is passed to it. So this substring method does not
//need any checks.
- oString.substring(1, oString.length() - 1);
+ oString = oString.substring(1, oString.length() - 1);
mm.put(key, oString);
log.info("Added property: " + key + ": " + oString);
} else if (o instanceof JSONObject) {