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 2018/06/06 14:42:58 UTC

svn commit: r1833028 - /tomcat/trunk/res/findbugs/filter-false-positives.xml

Author: markt
Date: Wed Jun  6 14:42:58 2018
New Revision: 1833028

URL: http://svn.apache.org/viewvc?rev=1833028&view=rev
Log:
False positives where values can be null

Modified:
    tomcat/trunk/res/findbugs/filter-false-positives.xml

Modified: tomcat/trunk/res/findbugs/filter-false-positives.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/findbugs/filter-false-positives.xml?rev=1833028&r1=1833027&r2=1833028&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Wed Jun  6 14:42:58 2018
@@ -1487,6 +1487,12 @@
     <Bug pattern="MSF_MUTABLE_SERVLET_FIELD"/>
   </Match>
   <Match>
+    <!-- ByteChunk.toString() can return null -->
+    <Class name="org.apache.catalina.connector.TestRequest"/>
+    <Method name="doBug56501"/>
+    <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
+  </Match>
+  <Match>
     <!-- Return value of latch is intentionally ignored -->
     <Class name="org.apache.catalina.connector.TestSendFile"/>
     <Method name="testBug60409"/>
@@ -1540,6 +1546,12 @@
     <Bug pattern="MSF_MUTABLE_SERVLET_FIELD"/>
   </Match>
   <Match>
+    <!-- ByteChunk.toString() can return null -->
+    <Class name="org.apache.catalina.core.TestStandardContextAliases"/>
+    <Method name="testDirContextAliases"/>
+    <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
+  </Match>
+  <Match>
     <!-- Deliberate hack for the purposes of the test -->
     <Class name="org.apache.catalina.filters.TestRemoteIpFilter$MockHttpServlet"/>
     <Field name="request"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org