Author: markt
Date: Thu Apr 26 09:53:26 2018
New Revision: 1830178
URL: http://svn.apache.org/viewvc?rev=1830178&view=rev
Log:
Fix false positive
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=1830178&r1=1830177&r2=1830178&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Thu Apr 26 09:53:26
2018
@@ -1045,6 +1045,12 @@
<Bug pattern="SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE" />
</Match>
<Match>
+ <!-- Array elements are not mutated -->
+ <Class name="org.apache.tomcat.jdbc.pool.PoolProperties" />
+ <Field name="interceptors" />
+ <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY" />
+ </Match>
+ <Match>
<!-- The name isn't great but it is part of the public API now -->
<Class name="org.apache.tomcat.jdbc.pool.TrapException" />
<Bug pattern="NM_CLASS_NOT_EXCEPTION" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]