aboutsummaryrefslogtreecommitdiff
path: root/config/checkstyle_checks.xml
diff options
context:
space:
mode:
authorVladislav Lisetskii <vladislav_lisetskii@epam.com>2017-04-13 13:44:50 +0300
committerRoman Ivanov <romani@users.noreply.github.com>2017-04-17 10:51:06 -0700
commitdc9e156d7a23b2caf979da8e552517545db01171 (patch)
tree6c2d9fd2b7ded64c81d5e77635ee45c5c09f14bb /config/checkstyle_checks.xml
parentb641790c4d6629a28d2275366026182ad48b0f54 (diff)
downloadcheckstyle-dc9e156d7a23b2caf979da8e552517545db01171.tar.gz
Issue #3546: Update commentFormat in SuppressWithNearbyCommentFilter to allow suppression of more then one Check
Diffstat (limited to 'config/checkstyle_checks.xml')
-rw-r--r--config/checkstyle_checks.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/checkstyle_checks.xml b/config/checkstyle_checks.xml
index dc72d9e4d..42ca199bf 100644
--- a/config/checkstyle_checks.xml
+++ b/config/checkstyle_checks.xml
@@ -45,7 +45,7 @@
</module>
<module name="SuppressWarningsFilter"/>
<module name="SuppressWithNearbyCommentFilter">
- <property name="commentFormat" value="-@cs\[(\w{8,})\] \w[\(\)\-\.\'\`\,\:\;\w ]{10,}"/>
+ <property name="commentFormat" value="-@cs\[(\w{8,}(\|\w{8,})*)\] \w[\(\)\-\.\'\`\,\:\;\w ]{10,}"/>
<property name="checkFormat" value="$1"/>
<property name="influenceFormat" value="3"/>
</module>