Author: markt
Date: Wed May 16 11:29:31 2018
New Revision: 1831702

URL: http://svn.apache.org/viewvc?rev=1831702&view=rev
Log:
A couple more false positives

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=1831702&r1=1831701&r2=1831702&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Wed May 16 11:29:31 
2018
@@ -1173,6 +1173,12 @@
     <Bug code="ES" />
   </Match>
   <Match>
+    <!-- Write to static field is intentional -->
+    <Class name="org.apache.tomcat.util.digester.Digester"/>
+    <Method name="&lt;init&gt;"/>
+    <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
+  </Match>
+  <Match>
     <!-- Fall-through expected -->
     <Class name="org.apache.tomcat.util.http.LegacyCookieProcessor" />
     <Method name="processCookieHeader"/>
@@ -1318,6 +1324,15 @@
     <Bug code="SF" />
   </Match>
   <Match>
+    <!-- Array elements are not modified after assignment -->
+    <Class name="org.apache.tomcat.util.net.openssl.OpenSSLEngine" />
+    <Or>
+      <Field name="peerCerts"/>
+      <Field name="x509PeerCerts"/>
+    </Or>
+    <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY" />
+  </Match>
+  <Match>
     <!-- No performance issue as there is no DNS resolution -->
     <Class name="org.apache.tomcat.util.scan.StandardJarScanner" />
     <Bug pattern="DMI_COLLECTION_OF_URLS" />



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

Reply via email to