[doc] Update release notes, refs #3200, refs #3128

This commit is contained in:
Andreas Dangel
2021-04-19 19:36:57 +02:00
parent 02169557b0
commit 235e55a4bb
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@ This is a {{ site.pmd.release_type }} release.
This rule is also part of the Quickstart Ruleset (`rulesets/java/quickstart.xml`) for Java.
* The new Java rule {% rule "java/codestyle/UnnecessaryImport" %} merges the rules
* The new Java rule {% rule "java/codestyle/UnnecessaryImport" %} replaces the rules
{% rule "java/bestpractices/UnusedImports" %}, {% rule "java/codestyle/DuplicateImports" %},
{% rule "java/errorprone/ImportFromSamePackage" %}, and {% rule "java/codestyle/DontImportJavaLang" %}.
@ -46,6 +46,8 @@ This is a {{ site.pmd.release_type }} release.
* [#3198](https://github.com/pmd/pmd/pull/3198): \[apex] OperationWithLimitsInLoopRule: Support more limit consuming static method invocations
* java-bestpractices
* [#3190](https://github.com/pmd/pmd/issues/3190): \[java] Use StandardCharsets instead of Charset.forName
* java-codestyle
* [#3128](https://github.com/pmd/pmd/issues/3128): \[java] New rule UnnecessaryImport, deprecate DuplicateImports, ImportFromSamePackage, UnusedImports
* java-errorprone
* [#2757](https://github.com/pmd/pmd/issues/2757): \[java] CloseResource: support Lombok's @Cleanup annotation

View File

@ -9,5 +9,6 @@ This ruleset contains links to rules that are new in PMD v6.34.0
</description>
<rule ref="category/java/bestpractices.xml/UseStandardCharsets" />
<rule ref="category/java/codestyle.xml/UnnecessaryImport" />
</ruleset>