File tree 1 file changed +3
-3
lines changed
wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,14 +416,14 @@ public RepeatCommand repeatedly() {
416
416
* commands with {@link CommandScheduler#removeComposedCommand(Command)}. The command composition
417
417
* returned from this method can be further decorated without issue.
418
418
*
419
- * @param times the count of times to run the command (inclusively) .
419
+ * @param times the count of times to run the command.
420
420
* @return the decorated command
421
421
*/
422
- public ParallelRaceGroup repeatedly (int times ) {
422
+ public ParallelRaceGroup repeatedly (int repetitions ) {
423
423
AtomicInteger counter = new AtomicInteger (0 );
424
424
return this .finallyDo (counter ::getAndIncrement )
425
425
.repeatedly ()
426
- .until (() -> counter .get () >= times );
426
+ .until (() -> counter .get () >= repetitions );
427
427
}
428
428
429
429
/**
You can’t perform that action at this time.
0 commit comments