Improved: UtilValidate isEmpty and isNotEmpty methods not used correctly
(OFBIZ-8413) Thanks Pawan Verma for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -39,7 +39,7 @@ public class NotEmpty extends SimpleMapOperation {
|
||||
Object obj = inMap.get(fieldName);
|
||||
if (obj instanceof java.lang.String) {
|
||||
String fieldValue = (java.lang.String) obj;
|
||||
if (!UtilValidate.isNotEmpty(fieldValue)) {
|
||||
if (UtilValidate.isEmpty(fieldValue)) {
|
||||
addMessage(messages, loader, locale);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user