From 4074ec00dbc5ac7a24c574349c61427d1f5df9d7 Mon Sep 17 00:00:00 2001 From: Marco Risaliti Date: Fri, 4 Mar 2011 23:19:24 +0000 Subject: [PATCH] Remove some warning in ModelViewEntity (OFBIZ-4102) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078212 13f79535-47bb-0310-9956-ffa450edef68 --- .../entity/src/org/ofbiz/entity/model/ModelViewEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java b/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java index d219ce388c..599a31d3f8 100644 --- a/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java +++ b/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java @@ -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.newInstance()); }