This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 9a2ce27 SpotBugs false positive. NPE isn't possible here.
9a2ce27 is described below
commit 9a2ce27a0c66b433af1d2d94de88bc7e99144340
Author: Mark Thomas <[email protected]>
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 7cb9dd8..13b518b 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="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: [email protected]
For additional commands, e-mail: [email protected]