[wpilib] Use misspell to find more spelling errors (NFC) (#2679)

This commit is contained in:
sciencewhiz
2020-09-02 19:41:05 -07:00
committed by GitHub
parent 6a1e5385e5
commit f758af826d
20 changed files with 47 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2008-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -330,7 +330,7 @@ public abstract class Command implements Sendable, AutoCloseable {
* method for time-sensitive commands.
*
* <p>Returning false will result in the command never ending automatically. It may still be
* cancelled manually or interrupted by another command. Returning true will result in the
* canceled manually or interrupted by another command. Returning true will result in the
* command executing once and finishing immediately. We recommend using {@link InstantCommand}
* for this.
*
@@ -447,7 +447,7 @@ public abstract class Command implements Sendable, AutoCloseable {
/**
* Clears list of subsystem requirements. This is only used by
* {@link ConditionalCommand} so cancelling the chosen command works properly
* {@link ConditionalCommand} so canceling the chosen command works properly
* in {@link CommandGroup}.
*/
protected void clearRequirements() {

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -141,7 +141,7 @@ public abstract class ConditionalCommand extends Command {
if (m_chosenCommand != null) {
/*
* This is a hack to make cancelling the chosen command inside a
* This is a hack to make canceling the chosen command inside a
* CommandGroup work properly
*/
m_chosenCommand.clearRequirements();