From fb4f4888c99d4cec2ad1e2dfe574b6e4b3426280 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Mon, 26 Feb 2024 19:26:45 +0100 Subject: [PATCH] [doc] Fix release notes, add missing change in EmptyControlStatement Refs #4754 --- docs/pages/release_notes_pmd7.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/pages/release_notes_pmd7.md b/docs/pages/release_notes_pmd7.md index ce284264484..e051c28c088 100644 --- a/docs/pages/release_notes_pmd7.md +++ b/docs/pages/release_notes_pmd7.md @@ -390,6 +390,8 @@ can be parsed now. PMD should now be able to parse Apex code up to version 59.0 not necessary are allowed, if they separate expressions of different precedence. The other property `ignoreBalancing` (default: true) is similar, in that it allows parentheses that help reading and understanding the expressions. +* {% rule java/codestyle/EmptyControlStatement %}: The rule has a new property to allow empty blocks when + they contain a comment (`allowCommentedBlocks`). **Java Design**