commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yevgen Kogan <>
Subject [scxml] Issue with TransitionTargetComparator
Date Mon, 09 May 2011 15:16:52 GMT

Dear all,
the line 90 of the /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/semantics/TransitionTargetComparator
looks like this:
State s = (State);
The cast to State causes an cast exception for my state machine, because some of my states
are derived from Parallel. 
Now my question is, if the cast to State should be replaced with the cast to TransitionTarget
or is it legal to assume that alle TransitionTargets in the method
 are States (it would imply that my state machine is "brocken" ).
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message