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:41 UTC

(commons-csv) 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-csv.git


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

commit 2777a67538a8a194c194250b1a26d1f8c4f3bd6d
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 11 06:58:35 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/site/resources/pmd/pmd-ruleset.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/site/resources/pmd/pmd-ruleset.xml b/src/site/resources/pmd/pmd-ruleset.xml
index a7ccc921..74e41f99 100644
--- a/src/site/resources/pmd/pmd-ruleset.xml
+++ b/src/site/resources/pmd/pmd-ruleset.xml
@@ -59,7 +59,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"/>