mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[commands] Remove docs reference to obsolete interrupted() method (NFC) (#4262)
This commit is contained in:
@@ -318,8 +318,8 @@ public interface Command {
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancels this command. Will call the command's interrupted() method. Commands will be canceled
|
||||
* even if they are not marked as interruptible.
|
||||
* Cancels this command. Will call the command's end() method with interrupted=true. Commands will
|
||||
* be canceled even if they are not marked as interruptible.
|
||||
*/
|
||||
default void cancel() {
|
||||
CommandScheduler.getInstance().cancel(this);
|
||||
|
||||
Reference in New Issue
Block a user