Substring method output was being lost, causing extra
quotes to stay in the String.
Change-Id: I35e9eee60756b7b743386600e3ab1d203cca036a
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1576
//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.
//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) {
mm.put(key, oString);
log.info("Added property: " + key + ": " + oString);
} else if (o instanceof JSONObject) {