[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

@@ -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