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:
Marco Risaliti
2011-03-04 23:19:24 +00:00
parent e156beeb76
commit 4074ec00db
@@ -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());
}