diff --git a/feed.xml b/feed.xml
index 9010afe5da..ad2debc9c8 100644
--- a/feed.xml
+++ b/feed.xml
@@ -5,8 +5,8 @@
This rule is defined by the following XPath expression:
-//CatchBlockStatement[./BlockStatement[count(*) = 0] and
- not(matches(@VariableName, $allowExceptionNameRegex)) and
- ($allowCommentedBlocks = false() or @ContainsComment = false())]
+//CatchBlockStatement[./BlockStatement[count(*) = 0]]
Example(s):
@@ -1747,18 +1745,6 @@ or reported.
Deprecated Code Climate Block Highlighting
no
-
- allowCommentedBlocks
- false
- Empty blocks containing comments will be skipped
- no
-
-
- allowExceptionNameRegex
- ^(ignored|expected)$
- Empty blocks catching exceptions with names matching this regular expression will be skipped
- no
-
@@ -1766,15 +1752,6 @@ or reported.
<rule ref="category/apex/errorprone.xml/EmptyCatchBlock" />
-Use this rule and customize it:
-<rule ref="category/apex/errorprone.xml/EmptyCatchBlock">
- <properties>
- <property name="allowCommentedBlocks" value="false" />
- <property name="allowExceptionNameRegex" value="^(ignored|expected)$" />
- </properties>
-</rule>
-
-
EmptyIfStmt
Since: PMD 6.0.0