commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1623148 - /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
Date Sun, 07 Sep 2014 19:50:05 GMT
Author: ate
Date: Sun Sep  7 19:50:05 2014
New Revision: 1623148

URL: http://svn.apache.org/r1623148
Log:
SCXML-206: Ensure named events are never matched to event-less transitions

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

Modified: commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java?rev=1623148&r1=1623147&r2=1623148&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
(original)
+++ commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
Sun Sep  7 19:50:05 2014
@@ -681,6 +681,9 @@ public class SCXMLSemanticsImpl implemen
                     return false;
                 }
             }
+            else if (!transition.isAllEventsTransition()) {
+                return false;
+            }
         }
         else if (!transition.isNoEventsTransition()) {
             return false;



Mime
View raw message