commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r1052391 - /commons/proper/io/trunk/findbugs-exclude-filter.xml
Date Thu, 23 Dec 2010 22:12:13 GMT
Author: niallp
Date: Thu Dec 23 22:12:13 2010
New Revision: 1052391

URL: http://svn.apache.org/viewvc?rev=1052391&view=rev
Log:
Exclude false positive in DeferredFileOutputStream's thresholdReached() method highlighting
the FileOutputStream not being closed

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

Modified: commons/proper/io/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/findbugs-exclude-filter.xml?rev=1052391&r1=1052390&r2=1052391&view=diff
==============================================================================
--- commons/proper/io/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/io/trunk/findbugs-exclude-filter.xml Thu Dec 23 22:12:13 2010
@@ -85,4 +85,11 @@
     <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
   </Match>
 
+  <Match>
+    <Class name="org.apache.commons.io.output.DeferredFileOutputStream" />
+    <Or>
+      <Method name="thresholdReached" params="" returns="void" />
+    </Or>
+    <Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
+  </Match>
 </FindBugsFilter>



Mime
View raw message