tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1828469 - /tomcat/trunk/res/findbugs/filter-false-positives.xml
Date Thu, 05 Apr 2018 19:38:08 GMT
Author: markt
Date: Thu Apr  5 19:38:08 2018
New Revision: 1828469

URL: http://svn.apache.org/viewvc?rev=1828469&view=rev
Log:
SpotBugs
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=1828469&r1=1828468&r2=1828469&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Thu Apr  5 19:38:08 2018
@@ -680,6 +680,15 @@
     <Bug code="RCN"/>
   </Match>
   <Match>
+    <!-- Array contents is not mutated -->
+    <Class name="org.apache.catalina.webresources.CachedResource"/>
+    <Or>
+      <Field name="webResources"/>
+      <Field name="cachedContent"/>
+    </Or>
+    <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY"/>
+  </Match>
+  <Match>
     <!-- Use of synchronisation is required to make a sequence of calls in   -->
     <!-- one method appear to be atomic.                                     -->
     <Class name="org.apache.coyote.AbstractProcessorLight"/>



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


Mime
View raw message