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:59:57 UTC

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


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

commit b95cbfa29df2928578a133b395a3e03dd05658fb
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 11 06:59:52 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/maven-pmd-plugin.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conf/maven-pmd-plugin.xml b/src/conf/maven-pmd-plugin.xml
index 215ac295e..9d51e182f 100644
--- a/src/conf/maven-pmd-plugin.xml
+++ b/src/conf/maven-pmd-plugin.xml
@@ -78,7 +78,6 @@ under the License.
     <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" />