state machine bugfix [StackOverflowError]
This commit is contained in:
parent
02038847f2
commit
7941e3cbba
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ public class StateMachineUtil {
|
||||||
public static String getId(StateContext<?, ?> machine) {
|
public static String getId(StateContext<?, ?> machine) {
|
||||||
StateMachine<?, ?> stateMachine = machine.getStateMachine();
|
StateMachine<?, ?> stateMachine = machine.getStateMachine();
|
||||||
if (stateMachine == null) return "[unknown SM]";
|
if (stateMachine == null) return "[unknown SM]";
|
||||||
return getId(machine);
|
return getId(stateMachine);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <S, A> Action<S, A> chain(Action<S, A> a, Action<S, A> b) {
|
public static <S, A> Action<S, A> chain(Action<S, A> a, Action<S, A> b) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue