Branch: refs/heads/main
Home: https://github.com/pmd/pmd
Commit: 1ac594b107f73d39f3ed90cc93a6503d56931eb4
https://github.com/pmd/pmd/commit/1ac594b107f73d39f3ed90cc93a6503d56931eb4
Author: Gamja-rani <[email protected]>
Date: 2026-07-25 (Sat, 25 Jul 2026)
Changed paths:
M docs/pages/release_notes.md
M
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/VariableDeclarationUsageDistanceRule.java
M pmd-java/src/main/resources/category/java/codestyle.xml
M
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/VariableDeclarationUsageDistance.xml
Log Message:
-----------
[java] Fix #6846: VariableDeclarationUsageDistance: false positive wi… (#6860)
* [java] Fix #6846: VariableDeclarationUsageDistance: false positive with
variables grouped at top of block
* [java] Refactor #6858: VariableDeclarationUsageDistance: false positive with
variables grouped (doesn't count consecutive local variable declarations)
* [java] Refactor #6846: doesn't count when local variables declarations are
not consecutive
* [java] Test #6846: fix test file to verify local variable declaration
distance count
To unsubscribe from these emails, change your notification settings at
https://github.com/pmd/pmd/settings/notifications
_______________________________________________
Pmd-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmd-commits