You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2007/01/10 16:07:13 UTC

svn commit: r494842 - /harmony/standard/tools/FindBugs/exclusionFilter.xml

Author: tellison
Date: Wed Jan 10 07:07:12 2007
New Revision: 494842

URL: http://svn.apache.org/viewvc?view=rev&rev=494842
Log:
Apply patch for HARMONY-2964 ([classlib] [archive] FindBugs filters for false positives in the archive module)

Modified:
    harmony/standard/tools/FindBugs/exclusionFilter.xml

Modified: harmony/standard/tools/FindBugs/exclusionFilter.xml
URL: http://svn.apache.org/viewvc/harmony/standard/tools/FindBugs/exclusionFilter.xml?view=diff&rev=494842&r1=494841&r2=494842
==============================================================================
--- harmony/standard/tools/FindBugs/exclusionFilter.xml (original)
+++ harmony/standard/tools/FindBugs/exclusionFilter.xml Wed Jan 10 07:07:12 2007
@@ -257,6 +257,42 @@
 		<Method name="getEventObject" />
 		<Bug pattern="WA_NOT_IN_LOOP" />
 	</Match>
+
+     <!-- Exception is ignored on purpose -->
+     <Match>
+       <Class name="java.util.jar.JarVerifier" />
+       <Method name="verifyCertificate" />
+       <Bug code="DE" />
+     </Match>	
+	
+     <!-- OK to ignore return value as result is checked in next line -->
+     <Match>
+       <Class name="java.util.zip.ZipInputStream" />
+       <Method name="closeEntry" />
+       <Bug code="RR" />
+     </Match>	
+     
+     <!-- OK to return actual byte array as this matches RI's behaviour -->
+     <Match>
+       <Class name="java.util.zip.ZipEntry" />
+       <Method name="getExtra" />
+       <Bug code="EI" />
+     </Match>	
+     
+     <!-- OK to use actual byte array as this matches RI's behaviour -->
+     <Match>
+       <Class name="java.util.zip.ZipEntry" />
+       <Method name="setExtra" />
+       <Bug code="EI2" />
+     </Match>
+     
+     <!-- OK to use actual byte array as this matches RI's behaviour -->
+     <Match>
+       <Class name="java.util.zip.Deflater" />
+       <Method name="setInput" />
+       <Bug code="EI2" />
+     </Match>
 	
 </FindBugsFilter>
+