mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[commands] Rename Java factory wait() to waitSeconds() (#4684)
This is needed to avoid a conflict with Object.wait() when using static imports. C++ doesn't have this issue, and has units, so Wait() still makes sense there.
This commit is contained in:
@@ -100,7 +100,7 @@ public final class Commands {
|
||||
* @return the command
|
||||
* @see WaitCommand
|
||||
*/
|
||||
public static CommandBase wait(double seconds) {
|
||||
public static CommandBase waitSeconds(double seconds) {
|
||||
return new WaitCommand(seconds);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user