aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorVladislav Lisetskii <vladlis54@gmail.com>2016-11-16 19:12:53 +0300
committerRoman Ivanov <romani@users.noreply.github.com>2016-11-28 14:16:59 -0800
commitbfed57cdc87c736661d743222f1b64062b6a84d4 (patch)
tree9a4bc64374acd8adbffa3810159e514bbbc3b34c /config
parent825e6a8fcd85e1d77ba86b39aa3834b03344a055 (diff)
downloadcheckstyle-bfed57cdc87c736661d743222f1b64062b6a84d4.tar.gz
Issue #2992: ThreadLocal usage in single-threaded checkstyle
Diffstat (limited to 'config')
-rw-r--r--config/findbugs-exclude.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/findbugs-exclude.xml b/config/findbugs-exclude.xml
index d9407e51e..33b278b19 100644
--- a/config/findbugs-exclude.xml
+++ b/config/findbugs-exclude.xml
@@ -112,4 +112,10 @@
<Method name="makeCodeSelection"/>
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
</Match>
+ <Match>
+ <!-- Until https://github.com/checkstyle/checkstyle/issues/3573 -->
+ <Class name="com.puppycrawl.tools.checkstyle.checks.FileContentsHolder" />
+ <Method name="beginTree"/>
+ <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
+ </Match>
</FindBugsFilter>