[wpilibj] Rename DriverStation In[Mode] functions to follow style guide (#3488)

This commit is contained in:
Tyler Veness
2021-07-26 07:29:54 -07:00
committed by GitHub
parent 16e096cf86
commit d7b8aa56dc
3 changed files with 20 additions and 24 deletions

View File

@@ -1104,8 +1104,7 @@ public class DriverStation {
*
* @param entering If true, starting disabled code; if false, leaving disabled code
*/
@SuppressWarnings("MethodName")
public static void InDisabled(boolean entering) {
public static void inDisabled(boolean entering) {
m_userInDisabled = entering;
}
@@ -1115,8 +1114,7 @@ public class DriverStation {
*
* @param entering If true, starting autonomous code; if false, leaving autonomous code
*/
@SuppressWarnings("MethodName")
public static void InAutonomous(boolean entering) {
public static void inAutonomous(boolean entering) {
m_userInAutonomous = entering;
}
@@ -1126,8 +1124,7 @@ public class DriverStation {
*
* @param entering If true, starting teleop code; if false, leaving teleop code
*/
@SuppressWarnings("MethodName")
public static void InOperatorControl(boolean entering) {
public static void inOperatorControl(boolean entering) {
m_userInTeleop = entering;
}
@@ -1137,8 +1134,7 @@ public class DriverStation {
*
* @param entering If true, starting test code; if false, leaving test code
*/
@SuppressWarnings("MethodName")
public static void InTest(boolean entering) {
public static void inTest(boolean entering) {
m_userInTest = entering;
}