mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature/APPS-591_UpdatesForACS7.0.0' of https://github.com/Alfresco/governance-services into feature/APPS-591_UpdatesForACS7.0.0
This commit is contained in:
@@ -238,7 +238,7 @@ public final class WebScriptUtils
|
||||
|
||||
try
|
||||
{
|
||||
value = jsonObject.get(key).toString();
|
||||
value = jsonObject.getString(key);
|
||||
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 = null;
|
||||
JSONObject value;
|
||||
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user