Table of Contents
30-August-2024 - 7.5.0-SNAPSHOT
The PMD team is pleased to announce PMD 7.5.0-SNAPSHOT.
This is a minor release.
π New and noteworthy
π Fixed Issues
- apex-performance
- #5139: [apex] OperationWithHighCostInLoop: false negative for triggers
- java
- #5167: [java] java.lang.IllegalArgumentException: <?> cannot be a wildcard bound
- java-bestpractices
- #3602: [java] GuardLogStatement: False positive when compile-time constant is created from external constants
- #4731: [java] GuardLogStatement: Documentation is unclear why getters are flagged
- #5145: [java] UnusedPrivateMethod: False positive with method calls inside lambda
- #5151: [java] GuardLogStatement: Should not need to guard parameterized log messages where the replacement arg is a constant from another class
- #5152: [java] GuardLogStatement: Should not need to guard parameterized log messages where the replacement arg is βthisβ
- #5153: [java] GuardLogStatement: Should not need to guard parameterized log messages where the replacement arg is an array element
- plsql-bestpractices
- #5132: [plsql] TomKytesDespair: XPathException for more complex exception handler
π¨ API Changes
- pmd-jsp
JspParserImpl
is deprecated now. It should have been package-private because this is an implementation class that should not be used directly.
- pmd-velocity
VtlParserImpl
is deprecated now. It should have been package-private because this is an implementation class that should not be used directly.
- pmd-visualforce
VfParserImpl
is deprecated now. It should have been package-private because this is an implementation class that should not be used directly.