commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1531885 - /commons/proper/pool/trunk/findbugs-exclude-filter.xml
Date Mon, 14 Oct 2013 13:15:54 GMT
Author: markt
Date: Mon Oct 14 13:15:54 2013
New Revision: 1531885

URL: http://svn.apache.org/r1531885
Log:
Exclude a few more false positives

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

Modified: commons/proper/pool/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/findbugs-exclude-filter.xml?rev=1531885&r1=1531884&r2=1531885&view=diff
==============================================================================
--- commons/proper/pool/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/pool/trunk/findbugs-exclude-filter.xml Mon Oct 14 13:15:54 2013
@@ -78,8 +78,19 @@
   <!-- TEST CODE -->
   <Match>
     <!-- Generating a new object is a deliberate choice -->
-    <Class name="org.apache.commons.pool2.MethodCallPoolableObjectFactory" />
+    <Or>
+      <Class name="org.apache.commons.pool2.MethodCallPoolableObjectFactory" />
+      <Class name="org.apache.commons.pool2.TestKeyedObjectPool$FailingKeyedPooledObjectFactory"
/>
+    </Or>
     <Method name="makeObject" />
     <Bug pattern="DM_NUMBER_CTOR" />
   </Match>
+  <Match>
+    <!-- Generating a new object is a deliberate choice -->
+    <Or>
+      <Class name="org.apache.commons.pool2.TestKeyedObjectPool" />
+      <Class name="org.apache.commons.pool2.TestObjectPool" />
+    </Or>
+    <Bug pattern="DM_NUMBER_CTOR" />
+  </Match>
 </FindBugsFilter>



Mime
View raw message