mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Clean up Java warning suppressions (#4433)
Checkstyle naming conventions were changed to allow most of what's in wpimath. Naming rules were disabled completely in wpimath since almost all suppressions are for math notation.
This commit is contained in:
@@ -6,7 +6,6 @@ package frc.robot;
|
||||
|
||||
import edu.wpi.first.wpilibj.TimedRobot;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class MyRobot extends TimedRobot {
|
||||
/**
|
||||
* This function is run when the robot is first started up and should be used for any
|
||||
@@ -15,27 +14,27 @@ public class MyRobot extends TimedRobot {
|
||||
@Override
|
||||
public void robotInit() {}
|
||||
|
||||
/** This function is run once each time the robot enters autonomous mode */
|
||||
/** This function is run once each time the robot enters autonomous mode. */
|
||||
@Override
|
||||
public void autonomousInit() {}
|
||||
|
||||
/** This function is called periodically during autonomous */
|
||||
/** This function is called periodically during autonomous. */
|
||||
@Override
|
||||
public void autonomousPeriodic() {}
|
||||
|
||||
/** This function is called once each time the robot enters tele-operated mode */
|
||||
/** This function is called once each time the robot enters tele-operated mode. */
|
||||
@Override
|
||||
public void teleopInit() {}
|
||||
|
||||
/** This function is called periodically during operator control */
|
||||
/** This function is called periodically during operator control. */
|
||||
@Override
|
||||
public void teleopPeriodic() {}
|
||||
|
||||
/** This function is called periodically during test mode */
|
||||
/** This function is called periodically during test mode. */
|
||||
@Override
|
||||
public void testPeriodic() {}
|
||||
|
||||
/** This function is called periodically during all modes */
|
||||
/** This function is called periodically during all modes. */
|
||||
@Override
|
||||
public void robotPeriodic() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user