svn commit: r1069096 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1069096 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaRule.java

mrisaliti
Author: mrisaliti
Date: Wed Feb  9 21:03:29 2011
New Revision: 1069096

URL: http://svn.apache.org/viewvc?rev=1069096&view=rev
Log:
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 {