Skip to content

Commit 0167b62

Browse files
committed
Minor Fix
1 parent 9894b21 commit 0167b62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/fsm/StateMachineParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static StateMachine parse(String uri) {
6363
} else {
6464
return null;
6565
}
66-
if (transitions == null) return null; // no transitions found
66+
if (transitions.isEmpty()) return null; // no transitions found
6767

6868
return new StateMachine(className, initial, states, transitions);
6969

0 commit comments

Comments
 (0)