Re: [scxml] Issue with TransitionTargetComparator

2011-05-09 Thread Rahul Akolkar
On Mon, May 9, 2011 at 11:16 AM, Yevgen Kogan wrote: > > 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) iter.next(); > > The cast to State causes an cast exception

[scxml] Issue with TransitionTargetComparator

2011-05-09 Thread Yevgen Kogan
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) iter.next(); The cast to State causes an cast exception for my state machine, because some of my states are derived from