This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d2faaa0 Remove unused false positive PMD rule
0d2faaa0 is described below

commit 0d2faaa039207f4b4cc9410ac29d5bd960ec60e7
Author: Alex Herbert <[email protected]>
AuthorDate: Thu Feb 12 12:48:14 2026 +0000

    Remove unused false positive PMD rule
---
 src/conf/pmd/pmd-ruleset.xml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/conf/pmd/pmd-ruleset.xml b/src/conf/pmd/pmd-ruleset.xml
index 770b34e0..cd0e3209 100644
--- a/src/conf/pmd/pmd-ruleset.xml
+++ b/src/conf/pmd/pmd-ruleset.xml
@@ -142,14 +142,6 @@
       <property name="violationSuppressXPath" 
value="//ClassDeclaration[matches(@SimpleName, '^.*Builder$')]"/>
     </properties>
   </rule>
-  <rule ref="category/java/codestyle.xml/PrematureDeclaration">
-    <properties>
-      <!-- False positive where minExponent is stored before a possible exit 
point. -->
-      <property name="violationSuppressXPath"
-        
value="./ancestor::ClassDeclaration[@SimpleName='FastLoadedDiceRollerDiscreteSampler']
 and
-        ./ancestor::MethodName[@Image='of']"/>
-    </properties>
-  </rule>
   <rule ref="category/java/codestyle.xml/UnnecessaryBoxing">
     <properties>
       <property name="violationSuppressXPath"

Reply via email to