mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[commands] Rename Command.repeat to repeatedly (#4379)
This commit is contained in:
@@ -288,7 +288,7 @@ public interface Command {
|
||||
*
|
||||
* @return the decorated command
|
||||
*/
|
||||
default RepeatCommand repeat() {
|
||||
default RepeatCommand repeatedly() {
|
||||
return new RepeatCommand(this);
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public class RepeatCommand extends CommandBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
public RepeatCommand repeat() {
|
||||
public RepeatCommand repeatedly() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user