??-????-2020 - 6.22.0
The PMD team is pleased to announce PMD 6.22.0.
This is a minor release.
New and noteworthy
Updated PMD Designer
This PMD release ships a new version of the pmd-designer. For the changes, see PMD Designer Changelog.
Apex Suppressions
In addition to suppressing violation with the @SuppressWarnings
annotation, Apex now also supports
the suppressions with a NOPMD
comment. See Suppressing warnings.
Fixed Issues
- apex
- #1087: [apex] Support suppression via //NOPMD
- doc
- #2274: [doc] Java API documentation for PMD
- java
- #2268: [java] Improve TypeHelper resilience
- java-bestpractices
- #2277: [java] FP in UnusedImports for ambiguous static on-demand imports
- java-errorprone
- #2250: [java] InvalidLogMessageFormat flags logging calls using a slf4j-Marker
- java-performance
- #2275: [java] AppendCharacterWithChar flags literals in an expression
API Changes
Deprecated API
DFAGraphRule
and its implementationsDFAGraphMethod
External Contributions
- #2251: [java] FP for InvalidLogMessageFormat when using slf4j-Markers - Kris Scheibe
- #2253: [modelica] Remove duplicated dependencies - Piotrek Żygieło
- #2256: [doc] Corrected XML attributes in release notes - Maikel Steneker
- #2276: [java] AppendCharacterWithCharRule ignore literals in expressions - Kris Scheibe
- #2278: [java] fix UnusedImports rule for ambiguous static on-demand imports - Kris Scheibe
- #2279: [apex] Add support for suppressing violations using the // NOPMD comment - Gwilym Kuiper