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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to