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:
Jacques Le Roux
2009-11-24 13:10:38 +00:00
parent a35ef9c0cd
commit 3bc058cef7
@@ -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;