Added empty-catch-block rule file.
This commit is contained in:
parent
cd6aa27010
commit
9d066020cb
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<rule>
|
||||
<tokenlist>normal</tokenlist>
|
||||
<pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern>
|
||||
<message>
|
||||
<severity>style</severity>
|
||||
<summary>Empty catch block found.</summary>
|
||||
</message>
|
||||
</rule>
|
Loading…
Reference in New Issue