Skip to content

Commit 5e70e9a

Browse files
committed
Rename second thenWait to andThenWaitTime
1 parent 944bae9 commit 5e70e9a

File tree

1 file changed

+2
-2
lines changed
  • wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command

1 file changed

+2
-2
lines changed

wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Command.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ public SequentialCommandGroup andThenWaitSeconds(double seconds) {
247247
* @param time the timeout duration
248248
* @return the command with the timeout to await
249249
*/
250-
public SequentialCommandGroup thenWait(Time time) {
251-
return thenWait(time.in(Seconds));
250+
public SequentialCommandGroup andThenWaitTime(Time time) {
251+
return andThenWaitSeconds(time.in(Seconds));
252252
}
253253

254254
/**

0 commit comments

Comments
 (0)