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:09:49 UTC
[tomcat] branch 8.5.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 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new c4b5c86 SpotBugs false positive. NPE isn't possible here.
c4b5c86 is described below
commit c4b5c86da65236aa240f73ac40c419c47ddd9616
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 da428e8..e36ec9b 100644
--- a/res/findbugs/filter-false-positives.xml
+++ b/res/findbugs/filter-false-positives.xml
@@ -39,6 +39,12 @@
<Bug code="DE" />
</Match>
<Match>
+ <!-- Null is not possible here -->
+ <Class name="javax.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="javax.servlet.jsp.el.ImplicitObjectELResolver"/>
<Or>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org