From 235e55a4bb30e499d9e5100bcf031bbae1c549c4 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Mon, 19 Apr 2021 19:36:57 +0200 Subject: [PATCH] [doc] Update release notes, refs #3200, refs #3128 --- docs/pages/release_notes.md | 4 +++- pmd-core/src/main/resources/rulesets/releases/6340.xml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index 5e9b9170a3..910de5133c 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -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 diff --git a/pmd-core/src/main/resources/rulesets/releases/6340.xml b/pmd-core/src/main/resources/rulesets/releases/6340.xml index 2b6a6d29b0..2291b75fd1 100644 --- a/pmd-core/src/main/resources/rulesets/releases/6340.xml +++ b/pmd-core/src/main/resources/rulesets/releases/6340.xml @@ -9,5 +9,6 @@ This ruleset contains links to rules that are new in PMD v6.34.0 +