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 11:00:25 UTC

(commons-pool) branch POOL_2_X 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 POOL_2_X
in repository https://gitbox.apache.org/repos/asf/commons-pool.git


The following commit(s) were added to refs/heads/POOL_2_X by this push:
     new 1cd9669e PMD: Discontinue using Rule name category/java/errorprone.xml/UselessOperationOnImmutable as it is scheduled for removal from PMD.
1cd9669e is described below

commit 1cd9669e60075356f12eb6c77b41c4d8fd20bb3b
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 11 07:00:20 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 e4b1a9e1..55d17e2e 100644
--- a/src/conf/pmd-ruleset.xml
+++ b/src/conf/pmd-ruleset.xml
@@ -56,7 +56,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" />