You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/06/23 09:04:43 UTC
[tomcat] branch 10.0.x updated: SpotBugs false positive. NPE isn't
possible here.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 7d587ca SpotBugs false positive. NPE isn't possible here.
7d587ca is described below
commit 7d587cabcc2cc9d472f11d2498470d1b2058f5b3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 23 10:03:20 2021 +0100
SpotBugs false positive. NPE isn't possible here.
---
res/findbugs/filter-false-positives.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/res/findbugs/filter-false-positives.xml b/res/findbugs/filter-false-positives.xml
index 69cfd78..1f0f18e 100644
--- a/res/findbugs/filter-false-positives.xml
+++ b/res/findbugs/filter-false-positives.xml
@@ -33,6 +33,12 @@
<Bug code="NP" />
</Match>
<Match>
+ <!-- Null is not possible here -->
+ <Class name="jakarta.servlet.http.HttpServlet$NoBodyPrintWriter"/>
+ <Method name="resetBuffer"/>
+ <Bug pattern="NP_NULL_PARAM_DEREF"/>
+ </Match>
+ <Match>
<!-- Only base null is handled by this resolver -->
<Class name="jakarta.servlet.jsp.el.ImplicitObjectELResolver"/>
<Or>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org