Replaces a not needed call to isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883682 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -271,7 +271,7 @@ public class EntityExpr extends EntityCondition {
|
||||
}
|
||||
|
||||
ModelField curField = modelEntity.getField(fieldName);
|
||||
if (UtilValidate.isEmpty(curField)) {
|
||||
if (curField == null) {
|
||||
throw new IllegalArgumentException("FieldName " + fieldName + " not found for entity: " + modelEntity.getEntityName());
|
||||
}
|
||||
ModelFieldType type = null;
|
||||
|
||||
Reference in New Issue
Block a user