[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:
Sam Carlberg
2025-09-09 00:19:00 -04:00
committed by GitHub
parent be72d543ad
commit 909f8a1dc4
5 changed files with 7 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ public final class SmartDashboard {
/** The executor for listener tasks; calls listener tasks synchronously from main thread. */
private static final ListenerExecutor listenerExecutor = new ListenerExecutor();
private static boolean m_reported = false; // NOPMD redundant field initializer
private static boolean m_reported = false;
static {
setNetworkTableInstance(NetworkTableInstance.getDefault());