??-October-2019 - 6.19.0
The PMD team is pleased to announce PMD 6.19.0.
This is a minor release.
New and noteworthy
Fixed Issues
- core
- java
- #2042: [java] PMD crashes with ClassFormatError: Absent Code attributeā¦
- java-codestyle
- #2017: [java] UnnecessaryFullyQualifiedName triggered for inner class
- java-design
- #1912: [java] Metrics not computed correctly with annotations
API Changes
Deprecated APIs
For removal
- pmd-core
- All the package
net.sourceforge.pmd.dcd
and its subpackages. SeeDCD
. - In
LanguageRegistry
: RuleSet#getExcludePatterns
. Use the new methodgetFileExclusions
instead.RuleSet#getIncludePatterns
. Use the new methodgetFileInclusions
instead.
- All the package
- pmd-java
CanSuppressWarnings
and its implementationsisSuppressed
isSupressed
- pmd-apex
CanSuppressWarnings
and its implementationsisSupressed
External Contributions
- #2032: [core] Allow adding SourceCode directly into CPD - Nathan Braun
- #2047: [java] Fix computation of metrics with annotations - Andi