Skip to content

Commit fee4a8f

Browse files
committed
Add null check for binding frames
1 parent efbf0c3 commit fee4a8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commandsv3/src/main/java/org/wpilib/commands3/Binding.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ record Binding(BindingScope scope, BindingType type, Command command, StackTrace
2121
ErrorMessages.requireNonNullParam(scope, "scope", "Binding");
2222
ErrorMessages.requireNonNullParam(type, "type", "Binding");
2323
ErrorMessages.requireNonNullParam(command, "command", "Binding");
24+
ErrorMessages.requireNonNullParam(frames, "frames", "Binding");
2425
}
2526
}

0 commit comments

Comments
 (0)