From 6f12ed132277a990dbb25f8845f5dc190bc6fd9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Fri, 15 Apr 2022 14:55:52 +0200 Subject: [PATCH] Stop ignoring name "IDENT" --- .../lang/java/rule/bestpractices/UnusedPrivateFieldRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java index 14019dce67..5dbb3b15a9 100644 --- a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java +++ b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java @@ -35,7 +35,7 @@ public class UnusedPrivateFieldRule extends AbstractLombokAwareRule { private static final PropertyDescriptor> IGNORED_FIELD_NAMES = PropertyFactory.stringListProperty("ignoredFieldNames") - .defaultValue(Arrays.asList("serialVersionUID", "serialPersistentFields", "IDENT")) + .defaultValues("serialVersionUID", "serialPersistentFields") .desc("Field Names that are ignored from the unused check") .build();