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-imaging.git


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

commit ce4a9cbefb0740267a4b4b1c680ad6eca6b6515c
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sat Oct 11 06:59:39 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 215ac295..9d51e182 100644
--- a/src/conf/pmd-ruleset.xml
+++ b/src/conf/pmd-ruleset.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" />

Reply via email to