Author: mrisaliti
Date: Fri Mar 4 23:19:24 2011
New Revision: 1078212
URL:
http://svn.apache.org/viewvc?rev=1078212&view=revLog:
Remove some warning in ModelViewEntity (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java?rev=1078212&r1=1078211&r2=1078212&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java Fri Mar 4 23:19:24 2011
@@ -1271,7 +1271,7 @@ public class ModelViewEntity extends Mod
// 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());
}