??-January-2019 - 6.11.0
The PMD team is pleased to announce PMD 6.11.0.
This is a minor release.
New and noteworthy
Modified Rules
- The Java rule
LocalVariableCouldBeFinal
(java-codestyle
) has a new propertyignoreForEachDecl
, which is by default disabled. The new property allows for ignoring non-final loop variables in a for-each statement.
Fixed Issues
- java-bestpractices
- #658: [java] OneDeclarationPerLine: False positive for loops
- java-codestyle
- #1513: [java] LocalVariableCouldBeFinal: allow excluding the variable in a for-each loop
- java-errorprone
- #1035: [java] ReturnFromFinallyBlock: False positive on lambda expression in finally block
- plsql
API Changes
External Contributions
- #1503: [java] Fix for ReturnFromFinallyBlock false-positives - RishabhDeep Singh
- #1514: [java] LocalVariableCouldBeFinal: allow excluding the variable in a for-each loop - Kris Scheibe
- #1516: [java] OneDeclarationPerLine: Don’t report multiple variables in a for statement. - Kris Scheibe
- #1521: [java] Upgrade to ASM7 for JDK 11 support - Mark Pritchard