diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index ef960dd7ca..799de5f2e4 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -48,6 +48,10 @@ The command line version of PMD continues to use **scala 2.13**. * The new Java Rule {% rule "java/codestyle/UnnecessaryCast" %} (`java-codestyle`) finds casts that are unnecessary while accessing collection elements. +* The new Java Rule {% rule "java/performance/AvoidCalendarDateCreation" %} (`java-performance`) + finds usages of `java.util.Calendar` whose purpose is just to get the current date. This + can be done in a more lightweight way. + ### Fixed Issues * c# @@ -64,6 +68,7 @@ The command line version of PMD continues to use **scala 2.13**. ### External Contributions +* [#1932](https://github.com/pmd/pmd/pull/1932): \[java] Added 4 performance rules originating from PMD-jPinpoint-rules - [Jeroen Borgers](https://github.com/jborgers) * [#2349](https://github.com/pmd/pmd/pull/2349): \[java] Optimize UnusedPrivateMethodRule - [shilko2013](https://github.com/shilko2013) * [#2547](https://github.com/pmd/pmd/pull/2547): \[scala] Add cross compilation for scala 2.12 and 2.13 - [João Ferreira](https://github.com/jtjeferreira) * [#2567](https://github.com/pmd/pmd/pull/2567): \[c#] Fix CPD suppression with comments doesn't work - [Lixon Lookose](https://github.com/LixonLookose) diff --git a/pmd-core/src/main/resources/rulesets/releases/6250.xml b/pmd-core/src/main/resources/rulesets/releases/6250.xml index db652d271d..3dc5b862e2 100644 --- a/pmd-core/src/main/resources/rulesets/releases/6250.xml +++ b/pmd-core/src/main/resources/rulesets/releases/6250.xml @@ -9,5 +9,6 @@ This ruleset contains links to rules that are new in PMD v6.25.0 + diff --git a/pmd-java/src/main/resources/rulesets/java/quickstart.xml b/pmd-java/src/main/resources/rulesets/java/quickstart.xml index 743a148ac1..54e9ab798c 100644 --- a/pmd-java/src/main/resources/rulesets/java/quickstart.xml +++ b/pmd-java/src/main/resources/rulesets/java/quickstart.xml @@ -293,6 +293,7 @@ +