Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
pmd-doc-5.4.5.zip | 2017-02-25 | 55.0 MB | |
pmd-src-5.4.5.zip | 2017-02-25 | 2.8 MB | |
pmd-bin-5.4.5.zip | 2017-02-25 | 29.2 MB | |
PMD 5.4.5 (25-Februar-2017).tar.gz | 2017-02-25 | 1.7 MB | |
PMD 5.4.5 (25-Februar-2017).zip | 2017-02-25 | 2.9 MB | |
README.md | 2017-02-25 | 2.4 kB | |
Totals: 6 Items | 91.5 MB | 0 |
PMD Release Notes
25-Februar-2017 - 5.4.5
The PMD team is pleased to announce PMD 5.4.5
This is a bug fixing release.
Table Of Contents
New and noteworthy
Modified Rules
- The Java rule
UnusedModifier
(ruleset java-unusedcode) has been expanded to consider more redundant modifiers. - Annotations marked as
abstract
. - Nested annotations marked as
static
. - Nested annotations within another interface or annotation marked as
public
. - Classes, interfaces or annotations nested within an annotation marked as
public
orstatic
. - Nested enums marked as
static
.
Fixed Issues
- general
- #234: [core] Zip file stream closes spuriously when loading rulesets
- #256: [core] shortnames option is broken with relative paths
- java-basic
- #232: [java] SimplifiedTernary: Incorrect ternary operation can be simplified.
- java-coupling
- #270: [java] LoD false positive
- java-design
- #216: [java] [doc] NonThreadSafeSingleton: Be more explicit as to why double checked locking is not recommended
- #219: [java] UnnecessaryLocalBeforeReturn: ClassCastException in switch case with local variable returned
- java-optimizations
- #215: [java] RedundantFieldInitializer report for annotation field not explicitly marked as final
- java-unusedcode
- #246: [java] UnusedModifier doesn't check annotations
- #247: [java] UnusedModifier doesn't check annotations inner classes
- #248: [java] UnusedModifier doesn't check static keyword on nested enum declaration
- #257: [java] UnusedLocalVariable false positive
External Contributions
- #266: [java] corrected invalid reporting of LoD violation