From 6d0c5b19db31c92de276d7d98a592eba15042e2a Mon Sep 17 00:00:00 2001 From: Jeffrey Morris Date: Mon, 13 Mar 2023 23:27:08 -0500 Subject: [PATCH] [commands] CommandScheduler.isComposed: Remove incorrect throws clause (NFC) (#5183) --- .../java/edu/wpi/first/wpilibj2/command/CommandScheduler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java index 5bf429a6b2..986cdb6851 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/CommandScheduler.java @@ -626,7 +626,6 @@ public final class CommandScheduler implements NTSendable, AutoCloseable { * * @param command The command to check * @return true if composed - * @throws IllegalArgumentException if the given commands have already been composed. */ public boolean isComposed(Command command) { return getComposedCommands().contains(command);