Remove some warning in ModelViewEntity (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078212 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1271,7 +1271,7 @@ public class ModelViewEntity extends ModelEntity {
|
||||
|
||||
// don't convert the field to the desired type if this is an IN or BETWEEN operator and we have a Collection
|
||||
if (!((operator.equals(EntityOperator.IN) || operator.equals(EntityOperator.BETWEEN))
|
||||
&& value instanceof Collection)) {
|
||||
&& value instanceof Collection<?>)) {
|
||||
// now to a type conversion for the target fieldName
|
||||
value = this.viewEntityCondition.modelViewEntity.convertFieldValue(this.viewEntityCondition.modelViewEntity.getField(fieldName), value, modelFieldTypeReader, FastMap.<String, Object>newInstance());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user