Author: psteitz
Date: Sun Jul 19 23:56:58 2015
New Revision: 1691862

URL: http://svn.apache.org/r1691862
Log:
Mute some findbug nags.

Modified:
    commons/proper/dbcp/trunk/findbugs-exclude-filter.xml

Modified: commons/proper/dbcp/trunk/findbugs-exclude-filter.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/findbugs-exclude-filter.xml?rev=1691862&r1=1691861&r2=1691862&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/dbcp/trunk/findbugs-exclude-filter.xml Sun Jul 19 23:56:58 
2015
@@ -52,4 +52,16 @@
     <Method name="&lt;init&gt;"/>
     <Bug pattern="EI_EXPOSE_REP2"/>
   </Match>
+  <Match>
+    <!-- Code just executed at setup, clearer as is -->
+    <Class name="org.apache.commons.dbcp2.BasicDataSourceFactory" />
+    <Method name="validatePropertyNames" />
+    <Bug pattern="WMI_WRONG_MAP_ITERATOR" />
+  </Match>
+  <Match>
+    <!-- False positive - method does not declare return as @Nonnull -->
+    <Class name="org.apache.commons.dbcp2.DelegatingConnection" />
+    <Method name="prepareStatement" />
+    <Bug pattern="NP_NONNULL_RETURN_VIOLATION" />
+  </Match>
 </FindBugsFilter>


Reply via email to