diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/DeferredCommand.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/DeferredCommand.java index 04f07ead979..1d32012ab04 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/DeferredCommand.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/DeferredCommand.java @@ -34,7 +34,8 @@ public class DeferredCommand extends Command { * * @param supplier The command supplier * @param requirements The command requirements. This is a {@link Set} to prevent accidental - * omission of command requirements. + * omission of command requirements. Use {@link Set#of()} to easily construct a requirement + * set. */ public DeferredCommand(Supplier supplier, Set requirements) { m_supplier = requireNonNullParam(supplier, "supplier", "DeferredCommand");