import javax.swing.event.EventListenerList;
import org.webpieces.javasm.api.IllegalFireEventException;</BUG>
import org.webpieces.javasm.api.Memento;
import org.webpieces.javasm.api.State;
import org.webpieces.javasm.api.StateMachine;
<BUG>import org.webpieces.javasm.api.Transition;
public class StateMachineImpl implements StateMachine</BUG>
{
private final Map<String, StateImpl> nameToState = new HashMap<String, StateImpl>();
private final EventListenerList globalEntryListeners = new EventListenerList();

import javax.swing.event.EventListenerList;
import org.webpieces.javasm.api.Memento;
import org.webpieces.javasm.api.State;
import org.webpieces.javasm.api.StateMachine;
import org.webpieces.javasm.api.Transition;
import com.webpieces.util.locking.PermitQueue;
public class StateMachineImpl implements StateMachine
{
private final Map<String, StateImpl> nameToState = new HashMap<String, StateImpl>();
private final EventListenerList globalEntryListeners = new EventListenerList();
