mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[build] Remove PMD.RedundantFieldInitializer rule (#8184)
Code readability is much more important than saving three bytes per redundantly-initialized field.
This commit is contained in:
@@ -12,7 +12,6 @@ import edu.wpi.first.wpilibj.Joystick;
|
||||
import edu.wpi.first.wpilibj.TimedRobot;
|
||||
import edu.wpi.first.wpilibj.motorcontrol.PWMSparkMax;
|
||||
|
||||
@SuppressWarnings("PMD.RedundantFieldInitializer")
|
||||
public class Robot extends TimedRobot {
|
||||
private static double kDt = 0.02;
|
||||
private static double kMaxVelocity = 1.75;
|
||||
|
||||
Reference in New Issue
Block a user