commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugen Kogan (JIRA)" <>
Subject [jira] [Created] (SCXML-160) Cast to State in TransitionTargetComparator
Date Tue, 10 May 2011 06:58:03 GMT
Cast to State in TransitionTargetComparator

                 Key: SCXML-160
             Project: Commons SCXML
          Issue Type: Bug
    Affects Versions: 0.9
            Reporter: Eugen Kogan
            Priority: Minor

The line 90 of the /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml/semantics/TransitionTargetComparator
(compare(...) method)
looks like this:
State s = (State);
The cast to State causes a cast exception in case if the state machine has nested parallels
(without intermediate states). The line should be replaced with
TransitionTarget s = (TransitionTarget);

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message