
oowekyala:issue2757-closeResource-Cleanup-annot [java] Fix #2757: make CloseResource support @lombok.Cleanup #3197
1.1 KiB
1.1 KiB
title, permalink, keywords
title | permalink | keywords |
---|---|---|
PMD Release Notes | pmd_release_notes.html | changelog, release notes |
{{ site.pmd.date }} - {{ site.pmd.version }}
The PMD team is pleased to announce PMD {{ site.pmd.version }}.
This is a {{ site.pmd.release_type }} release.
{% tocmaker is_release_notes_processor %}
New and noteworthy
New rules
-
The new Java rule {% rule "java/bestpractices/UseStandardCharsets" %} finds usages of
Charset.forName
, whereStandardCharsets
can be used instead.This rule is also part of the Quickstart Ruleset (
rulesets/java/quickstart.xml
) for Java.
Fixed Issues
- java-bestpractices
- #3190: [java] Use StandardCharsets instead of Charset.forName
- java-errorprone
- #2757: [java] CloseResource: support Lombok's @Cleanup annotation
API Changes
External Contributions
- #3193: [java] New rule: UseStandardCharsets - Andrea Aime
{% endtocmaker %}