diff options
author | Vladislav Lisetskii <vladislav_lisetskii@epam.com> | 2017-04-13 13:44:50 +0300 |
---|---|---|
committer | Roman Ivanov <romani@users.noreply.github.com> | 2017-04-17 10:51:06 -0700 |
commit | dc9e156d7a23b2caf979da8e552517545db01171 (patch) | |
tree | 6c2d9fd2b7ded64c81d5e77635ee45c5c09f14bb /config/checkstyle_checks.xml | |
parent | b641790c4d6629a28d2275366026182ad48b0f54 (diff) | |
download | checkstyle-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.xml | 2 |
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> |