diff --git a/feed.xml b/feed.xml index 9010afe5da..ad2debc9c8 100644 --- a/feed.xml +++ b/feed.xml @@ -5,8 +5,8 @@ Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features. https://pmd.github.io/pmd/ - Sat, 23 Oct 2021 18:31:48 +0000 - Sat, 23 Oct 2021 18:31:48 +0000 + Sat, 23 Oct 2021 18:35:18 +0000 + Sat, 23 Oct 2021 18:35:18 +0000 Jekyll v3.9.0 diff --git a/pmd_rules_apex_errorprone.html b/pmd_rules_apex_errorprone.html index 684f0a2c62..2ba0fc0a51 100644 --- a/pmd_rules_apex_errorprone.html +++ b/pmd_rules_apex_errorprone.html @@ -1700,9 +1700,7 @@ In most circumstances, this swallows an exception which should either be acted o or reported.

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