Improved: Remove hard-coded instances of "IN" with ModelService.IN_PARAM (OFBIZ-9434)

Thanks Devanshu and Pawan for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2017-07-08 08:35:32 +00:00
parent 7ec0bcce8d
commit 982356f563
10 changed files with 30 additions and 29 deletions
@@ -125,7 +125,7 @@ public final class ScriptHelperImpl implements ScriptHelper {
Debug.logWarning(e, errMsg, module);
throw new ScriptException(errMsg);
}
toMap.putAll(modelService.makeValid(inputMap, "IN", true, UtilGenerics.checkList(ctxHelper.getErrorMessages()), ctxHelper.getTimeZone(), ctxHelper.getLocale()));
toMap.putAll(modelService.makeValid(inputMap, ModelService.IN_PARAM, true, UtilGenerics.checkList(ctxHelper.getErrorMessages()), ctxHelper.getTimeZone(), ctxHelper.getLocale()));
return toMap;
}