You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2013/01/10 16:57:59 UTC
svn commit: r1431453 - /commons/proper/pool/trunk/findbugs-exclude-filter.xml
Author: markt
Date: Thu Jan 10 15:57:58 2013
New Revision: 1431453
URL: http://svn.apache.org/viewvc?rev=1431453&view=rev
Log:
Silence some 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=1431453&r1=1431452&r2=1431453&view=diff
==============================================================================
--- commons/proper/pool/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/pool/trunk/findbugs-exclude-filter.xml Thu Jan 10 15:57:58 2013
@@ -54,4 +54,14 @@
<Method name="borrowObject" />
<Bug code="DE" />
</Match>
+ <!-- Swallowing exception is deliberate design choice -->
+ <Match>
+ <Class name="org.apache.commons.pool2.impl.SoftReferenceObjectPool" />
+ <Or>
+ <Method name="addObject" />
+ <Method name="clear" />
+ <Method name="returnObject" />
+ </Or>
+ <Bug code="DE" />
+ </Match>
</FindBugsFilter>