[java-inspections] ClassCanBeRecord: make myIgnoredAnnotations field final

Just applying the inspection from IntelliJ.

GitOrigin-RevId: 08416db5c2cc2320cfd34e0f9541d80165d34feb
This commit is contained in:
Bartek Pacia
2025-07-08 21:40:33 +00:00
committed by intellij-monorepo-bot
parent 8c14a04254
commit dd147c932a
@@ -41,7 +41,7 @@ public final class ClassCanBeRecordInspection extends BaseInspection implements
public @NotNull ConversionStrategy myConversionStrategy = SHOW_AFFECTED_MEMBERS;
public boolean suggestAccessorsRenaming = true;
public List<@NlsSafe String> myIgnoredAnnotations = new ArrayList<>();
public final List<@NlsSafe String> myIgnoredAnnotations = new ArrayList<>();
@SuppressWarnings("unused") // See IDEA-371903
public ClassCanBeRecordInspection() {