address FindBugs issues
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1170674 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/findbugs-exclude-filter.xml b/findbugs-exclude-filter.xml
index e115226..59b9ad2 100644
--- a/findbugs-exclude-filter.xml
+++ b/findbugs-exclude-filter.xml
@@ -81,4 +81,24 @@
<Bug pattern="SR_NOT_CHECKED" />
</Match>
+ <!-- Reason: trying to delete a temporary file that has deleteOnExit set
+ anyway -->
+ <Match>
+ <Class name="org.apache.commons.compress.compressors.pack200.Pack200Utils" />
+ <Method name="normalize" />
+ <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
+ </Match>
+ <Match>
+ <Class name="org.apache.commons.compress.compressors.pack200.TempFileCachingStreamBridge$1" />
+ <Method name="close" />
+ <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
+ </Match>
+
+ <!-- Reason: It is the Pack200*Stream that's going to close it. -->
+ <Match>
+ <Class name="org.apache.commons.compress.compressors.pack200.TempFileCachingStreamBridge$1" />
+ <Method name="<init>" />
+ <Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
+ </Match>
+
</FindBugsFilter>