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 d79e9c0011 One more false positive when running via Ant d79e9c0011 is described below commit d79e9c0011d314ccd5669dcb89ea68614ff7bf0e Author: Mark Thomas <ma...@apache.org> AuthorDate: Sat Sep 16 10:39:29 2023 +0100 One more false positive when running via Ant --- res/spotbugs/filter-false-positives.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/res/spotbugs/filter-false-positives.xml b/res/spotbugs/filter-false-positives.xml index 64ea238d31..1f6307e60a 100644 --- a/res/spotbugs/filter-false-positives.xml +++ b/res/spotbugs/filter-false-positives.xml @@ -350,6 +350,13 @@ <Class name="org.apache.catalina.manager.host.HostManagerServlet" /> <Bug code="MSF" /> </Match> + <Match> + <!-- Spotbugs error - it missed the return if is is null --> + <Class name="org.apache.catalina.manager.host.HostManagerServlet" /> + <Method name="add" /> + <Local name="is" /> + <Pattern code="NP_LOAD_OF_KNOWN_NULL_VALUE" /> + </Match> <Match> <!-- Catching exception is simpler than handling all the individual ones --> <Class name="org.apache.catalina.manager.util.SessionUtils" /> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org