[commands] Remove docs reference to obsolete interrupted() method (NFC) (#4262)

This commit is contained in:
bovlb
2022-05-24 09:19:38 -07:00
committed by GitHub
parent 3d8dbbbac3
commit ef3714223b

View File

@@ -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);