We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9894b21 commit 0167b62Copy full SHA for 0167b62
1 file changed
server/src/main/java/fsm/StateMachineParser.java
@@ -63,7 +63,7 @@ public static StateMachine parse(String uri) {
63
} else {
64
return null;
65
}
66
- if (transitions == null) return null; // no transitions found
+ if (transitions.isEmpty()) return null; // no transitions found
67
68
return new StateMachine(className, initial, states, transitions);
69
0 commit comments