Author: mrisaliti
Date: Wed Feb 9 21:03:29 2011
New Revision: 1069096
URL:
http://svn.apache.org/viewvc?rev=1069096&view=revLog:
Remove a unused variable/Add a @SuppressWarning("serial") in ServiceEcaRule (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java?rev=1069096&r1=1069095&r2=1069096&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java Wed Feb 9 21:03:29 2011
@@ -141,7 +141,6 @@ public class ServiceEcaRule implements j
// if all conditions are true
if (allCondTrue) {
- boolean allOkay = true;
for (Object setOrAction: actionsAndSets) {
if (setOrAction instanceof ServiceEcaAction) {
ServiceEcaAction ea = (ServiceEcaAction) setOrAction;
@@ -151,8 +150,6 @@ public class ServiceEcaRule implements j
if (Debug.infoOn()) Debug.logInfo("Running Service ECA Service: " + ea.serviceName + ", triggered by rule on Service: " + serviceName, module);
if (ea.runAction(serviceName, dctx, context, result)) {
actionsRun.add(ea.serviceName);
- } else {
- allOkay = false;
}
}
} else {