Author: lektran
Date: Sat Feb 20 19:49:12 2010
New Revision: 912201
URL: http://svn.apache.org/viewvc?rev=912201&view=rev
Log:
Removed use of a deprecated constructor
Modified:
ofbiz/trunk/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy
Modified:
ofbiz/trunk/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy?rev=912201&r1=912200&r2=912201&view=diff
==============================================================================
---
ofbiz/trunk/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy
(original)
+++
ofbiz/trunk/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy
Sat Feb 20 19:49:12 2010
@@ -33,7 +33,7 @@
for (conditionDef in item.list) {
conditions.add(buildCondition(conditionDef))
}
- return new EntityConditionList(conditions,
EntityOperator.lookup(item.operator))
+ return EntityCondition.makeCondition(conditions,
EntityOperator.lookup(item.operator))
case "EntityExpr":
return new EntityExpr(getValue(item.left),
EntityOperator.lookup(item.operator), getValue(item.right))
case "Include":