You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/10/11 10:58:01 UTC
(commons-bcel) branch master updated: PMD: Discontinue using Rule name category/java/errorprone.xml/UselessOperationOnImmutable as it is scheduled for removal from PMD.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 2050abc5 PMD: Discontinue using Rule name category/java/errorprone.xml/UselessOperationOnImmutable as it is scheduled for removal from PMD.
2050abc5 is described below
commit 2050abc5b5791ed2d7c1bbfa8c62c3d853e48a29
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 11 06:57:56 2025 -0400
PMD: Discontinue using Rule name
category/java/errorprone.xml/UselessOperationOnImmutable as it is
scheduled for removal from PMD.
PMD 8.0.0 will remove support for this Rule.
---
src/conf/pmd-ruleset.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/conf/pmd-ruleset.xml b/src/conf/pmd-ruleset.xml
index 6500ff1d..6b8b0982 100644
--- a/src/conf/pmd-ruleset.xml
+++ b/src/conf/pmd-ruleset.xml
@@ -58,7 +58,6 @@
<rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/>
<rule ref="category/java/errorprone.xml/UnnecessaryConversionTemporary"/>
<rule ref="category/java/errorprone.xml/UnusedNullCheckInEquals"/>
- <rule ref="category/java/errorprone.xml/UselessOperationOnImmutable"/>
<rule ref="category/java/multithreading.xml/AvoidThreadGroup"/>
<rule ref="category/java/multithreading.xml/DontCallThreadRun"/>
<rule ref="category/java/multithreading.xml/DoubleCheckedLocking"/>