aboutsummaryrefslogtreecommitdiff
path: root/config/findbugs-exclude.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/findbugs-exclude.xml')
-rw-r--r--config/findbugs-exclude.xml67
1 files changed, 60 insertions, 7 deletions
diff --git a/config/findbugs-exclude.xml b/config/findbugs-exclude.xml
index 0f4b8a21f..e9898d1df 100644
--- a/config/findbugs-exclude.xml
+++ b/config/findbugs-exclude.xml
@@ -91,16 +91,69 @@
<Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
</Match>
<Match>
- <!-- Temporary disabled. Have to deal with Javadoc nodes as well
- See https://github.com/checkstyle/checkstyle/issues/3432-->
- <Class name="com.puppycrawl.tools.checkstyle.gui.TreeTable" />
- <Method name="makeCodeSelection"/>
- <Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
- </Match>
- <Match>
<!-- false-positive. Bugs reported even though casting is done only after verification using instanceof -->
<Class name="com.puppycrawl.tools.checkstyle.JavadocDetailNodeParser"/>
<Method name="parseJavadocAsDetailNode"/>
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
</Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.Main"/>
+ <Method name="loadProperties"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.PackageNamesLoader"/>
+ <Method name="processFile"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.PropertyCacheFile"/>
+ <Method name="flushAndCloseOutStream"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.PropertyCacheFile"/>
+ <Method name="load"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.checks.header.AbstractHeaderCheck"/>
+ <Method name="loadHeaderFile"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.ant.CheckstyleAntTask"/>
+ <Method name="createOverridingProperties"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.PropertyCacheFile"/>
+ <Method name="persist"/>
+ <Bug pattern="NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.PropertyCacheFile"/>
+ <Method name="persist"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.checks.TranslationCheck"/>
+ <Method name="getTranslationKeys"/>
+ <Bug pattern="NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH"/>
+ </Match>
+ <Match>
+ <!-- false-positive. See details at https://github.com/checkstyle/checkstyle/pull/5403 -->
+ <Class name="com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck"/>
+ <Method name="processFiltered"/>
+ <Bug pattern="NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH"/>
+ </Match>
</FindBugsFilter>