harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r494842 - /harmony/standard/tools/FindBugs/exclusionFilter.xml
Date Wed, 10 Jan 2007 15:07:13 GMT
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>
+
 



Mime
View raw message