Revert "APPS-581: Fix Classification UnitTests that were failing due to org.json library version upgrade"

This reverts commit ef9167d6f4.
This commit is contained in:
rodicasutu
2020-12-03 21:45:49 +02:00
parent a385fd30b7
commit 9e331d6103

View File

@@ -238,7 +238,7 @@ public final class WebScriptUtils
try
{
value = jsonObject.getString(key);
value = jsonObject.get(key).toString();
if (checkValue && isBlank(value))
{
throw new WebScriptException(Status.STATUS_BAD_REQUEST, "The value is missing for the key '" + key + "'.");
@@ -413,7 +413,7 @@ public final class WebScriptUtils
mandatory("jsonObject", jsonObject);
mandatoryString("key", key);
JSONObject value;
JSONObject value = null;
try
{