??-May-2020 - 6.24.0-SNAPSHOT
The PMD team is pleased to announce PMD 6.24.0-SNAPSHOT.
This is a minor release.
New and noteworthy
CPD now supports XML as well
Thanks to Fernando Cosso CPD can now find duplicates in XML files as well. This is useful to find duplicated sections in XML files.
Fixed Issues
- apex-bestpractices
- #2468: [apex] Unused Local Variable fails on blocks
- core
- #2484: [core] Update maven-enforcer-plugin to require Java 118
- java-bestpractices
- #2288: [java] JUnitTestsShouldIncludeAssert: Add support for Hamcrest MatcherAssert.assertThat
API Changes
External Contributions
- #2446: [core] Update maven-compiler-plugin to 3.8.1 - Artem Krosheninnikov
- #2448: [java] Operator Wrap check - Harsh Kukreja
- #2449: [plsql] Additional info in SqlStatement, FormalParameter and FetchStatement - Grzegorz Sudolski
- #2452: [doc] Fix “Making Rulesets” doc sample code indentation - Artur Dryomov
- #2457: [xml] Adding XML to CPD supported languages - Fernando Cosso
- #2469: [apex] fix false positive unused variable if only a method is called - Gwilym Kuiper
- #2479: [java] False positive with Hamcrest’s assertThat - andreoss