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 2016/12/05 11:46:51 UTC
svn commit: r1772648 -
/tomcat/tc8.5.x/trunk/res/findbugs/filter-false-positives.xml
Author: markt
Date: Mon Dec 5 11:46:51 2016
New Revision: 1772648
URL: http://svn.apache.org/viewvc?rev=1772648&view=rev
Log:
Mark remaining FindBugs warnings as false positives.
Modified:
tomcat/tc8.5.x/trunk/res/findbugs/filter-false-positives.xml
Modified: tomcat/tc8.5.x/trunk/res/findbugs/filter-false-positives.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/res/findbugs/filter-false-positives.xml?rev=1772648&r1=1772647&r2=1772648&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/tc8.5.x/trunk/res/findbugs/filter-false-positives.xml Mon Dec 5 11:46:51 2016
@@ -172,6 +172,12 @@
<Bug code="SWL" />
</Match>
<Match>
+ <!-- null return value is documented -->
+ <Class name="org.apache.catalina.core.StandardWrapper" />
+ <Method name="isSingleThreadModel" />
+ <Bug pattern="NP_BOOLEAN_RETURN_NULL" />
+ </Match>
+ <Match>
<!-- The code is adding HTTP request headers, not parameters and the
header parsing on input will have removed any CR or LF characters. -->
<Class name="org.apache.catalina.filters.CorsFilter" />
@@ -230,7 +236,12 @@
<Bug code="Dm" />
</Match>
<Match>
- <!-- The header value is safe -->
+ <!-- Name shadowing is intentional -->
+ <Class name="org.apache.catalina.servlet4preview.http.HttpServletRequestWrapper"/>
+ <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
+ </Match>
+ <Match>
+ <!-- The header value is safe -->
<Class name="org.apache.catalina.servlets.DefaultServlet" />
<Method name="doDirectoryRedirect" />
<Bug pattern="HRS_REQUEST_PARAMETER_TO_HTTP_HEADER" />
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org