Author: markt
Date: Mon Feb 26 18:45:04 2018
New Revision: 1825398
URL: http://svn.apache.org/viewvc?rev=1825398&view=rev
Log:
Two 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=1825398&r1=1825397&r2=1825398&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Mon Feb 26 18:45:04
2018
@@ -310,6 +310,18 @@
<Bug pattern="MSF_MUTABLE_SERVLET_FIELD" />
</Match>
<Match>
+ <!-- The array contents is never mutated. -->
+ <Class name="org.apache.catalina.mapper.Mapper" />
+ <Field name="hosts" />
+ <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY" />
+ </Match>
+ <Match>
+ <!-- The array contents is never mutated. -->
+ <Class name="org.apache.catalina.mapper.Mapper$MappedContext" />
+ <Field name="versions" />
+ <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY" />
+ </Match>
+ <Match>
<!-- SQL construction is safe since it is from trusted config -->
<Or>
<Class name="org.apache.catalina.realm.DataSourceRealm" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]