mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +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:
@@ -110,7 +110,6 @@ public class ReadOnlyPrimitiveLongSet implements Iterable<Long> {
|
||||
@Override
|
||||
public Iterator<Long> iterator() {
|
||||
return new Iterator<>() {
|
||||
@SuppressWarnings("PMD.RedundantFieldInitializer")
|
||||
private int m_index = 0;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user