commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1621887 - /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
Date Mon, 01 Sep 2014 21:12:13 GMT
Author: ate
Date: Mon Sep  1 21:12:13 2014
New Revision: 1621887

URL: http://svn.apache.org/r1621887
Log:
SCXML-205: finalStep gets called twice (2x)

Modified:
    commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java

Modified: commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java?rev=1621887&r1=1621886&r2=1621887&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
(original)
+++ commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
Mon Sep  1 21:12:13 2014
@@ -329,11 +329,6 @@ public class SCXMLExecutor implements SC
 
         // go
         semantics.firstStep(exctx);
-
-        if (!exctx.isRunning()) {
-            semantics.finalStep(exctx);
-        }
-
         logState();
     }
 
@@ -416,11 +411,6 @@ public class SCXMLExecutor implements SC
 
     protected void eventStep(TriggerEvent event) throws ModelException {
         semantics.nextStep(exctx, event);
-
-        if (!exctx.isRunning()) {
-            semantics.finalStep(exctx);
-        }
-
         logState();
     }
 



Mime
View raw message