[commands] CommandScheduler.requiring(): Note return can be null (NFC) (#2934)

This commit is contained in:
Blake Bourque
2021-03-04 02:56:57 -05:00
committed by GitHub
parent 6812302ff9
commit 0922f8af59

View File

@@ -450,7 +450,7 @@ public final class CommandScheduler implements Sendable, AutoCloseable {
* requiring the subsystem
*
* @param subsystem the subsystem to be inquired about
* @return the command currently requiring the subsystem
* @return the command currently requiring the subsystem, or null if no command is currently scheduled
*/
public Command requiring(Subsystem subsystem) {
return m_requirements.get(subsystem);