Skip to content

Commit 4d96bf1

Browse files
committed
Fix warning on varargs usage on servos state machine transitions
1 parent 92732ee commit 4d96bf1

File tree

1 file changed

+1
-1
lines changed
  • robot-system-lib-parent/robot-system-lib-core/src/main/java/org/arig/robot/utils

1 file changed

+1
-1
lines changed

robot-system-lib-parent/robot-system-lib-core/src/main/java/org/arig/robot/utils/StateMachine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public StateMachine<KEY, STATE, TRANSITION, OPTION> transition(@NonNull KEY from
9292

9393
// TODO calcul automatique des différents points de passage si manquant dans "transitions"
9494
public void goTo(@NonNull KEY to) {
95-
goTo(to, null);
95+
goTo(to, (OPTION) null);
9696
}
9797

9898
public void goTo(@NonNull KEY to, OPTION... option) {

0 commit comments

Comments
 (0)