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-numbers.git
commit 068e2c119ff38c8f2ea880d108db78e77db7380a Author: Alex Herbert <[email protected]> AuthorDate: Tue Aug 25 13:28:28 2026 +0100 PMD: Increase declaration usage max distance threshold --- 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 90dca903..5009a4a5 100644 --- a/src/conf/pmd/pmd-ruleset.xml +++ b/src/conf/pmd/pmd-ruleset.xml @@ -114,6 +114,11 @@ value="./ancestor-or-self::ClassDeclaration[@SimpleName='BoostTools']"/> </properties> </rule> + <rule ref="category/java/codestyle.xml/VariableDeclarationUsageDistance"> + <properties> + <property name="maxDistance" value="10"/> + </properties> + </rule> <rule ref="category/java/design.xml/CyclomaticComplexity"> <properties>
