mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[build] Enable spotbugs (#3601)
Benign spotbugs warnings were suppressed, and all others were fixed. Bug descriptions are documented here: https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html Co-authored-by: Austin Shalit <austinshalit@gmail.com>
This commit is contained in:
@@ -30,11 +30,11 @@ public class Robot extends TimedRobot {
|
||||
public static OI oi;
|
||||
|
||||
// Initialize the subsystems
|
||||
public static Drivetrain drivetrain = new Drivetrain();
|
||||
public static Collector collector = new Collector();
|
||||
public static Shooter shooter = new Shooter();
|
||||
public static Pneumatics pneumatics = new Pneumatics();
|
||||
public static Pivot pivot = new Pivot();
|
||||
public static final Drivetrain drivetrain = new Drivetrain();
|
||||
public static final Collector collector = new Collector();
|
||||
public static final Shooter shooter = new Shooter();
|
||||
public static final Pneumatics pneumatics = new Pneumatics();
|
||||
public static final Pivot pivot = new Pivot();
|
||||
|
||||
public SendableChooser<Command> m_autoChooser;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import edu.wpi.first.wpilibj.templates.oldcommandbased.subsystems.ExampleSubsyst
|
||||
* project.
|
||||
*/
|
||||
public class Robot extends TimedRobot {
|
||||
public static ExampleSubsystem m_subsystem = new ExampleSubsystem();
|
||||
public static final ExampleSubsystem m_subsystem = new ExampleSubsystem();
|
||||
public static OI m_oi;
|
||||
|
||||
Command m_autonomousCommand;
|
||||
|
||||
Reference in New Issue
Block a user