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

commit 8ea37ef4096651f84f49434970e4b1ffc9722914
Author: Alex Herbert <[email protected]>
AuthorDate: Tue Aug 25 14:26:18 2026 +0100

    PMD: Update max declaration usage distance
---
 src/conf/pmd/pmd-ruleset.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/conf/pmd/pmd-ruleset.xml b/src/conf/pmd/pmd-ruleset.xml
index 76cea697..140b212c 100644
--- a/src/conf/pmd/pmd-ruleset.xml
+++ b/src/conf/pmd/pmd-ruleset.xml
@@ -118,6 +118,11 @@
         
value="./ancestor-or-self::MethodDeclaration[@Name='getSupportLowerBound']"/>
     </properties>
   </rule>
+  <rule ref="category/java/codestyle.xml/VariableDeclarationUsageDistance">
+    <properties>
+      <property name="maxDistance" value="10"/>
+    </properties>
+  </rule>
 
   <rule ref="category/java/documentation.xml/CommentSize">
     <properties>

Reply via email to