harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r485774 - /harmony/standard/tools/FindBugs/exclusionFilter.xml
Date Mon, 11 Dec 2006 17:51:07 GMT
Author: tellison
Date: Mon Dec 11 09:51:06 2006
New Revision: 485774

URL: http://svn.apache.org/viewvc?view=rev&rev=485774
Log:
Exclude more false positives from FindBugs.

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=485774&r1=485773&r2=485774
==============================================================================
--- harmony/standard/tools/FindBugs/exclusionFilter.xml (original)
+++ harmony/standard/tools/FindBugs/exclusionFilter.xml Mon Dec 11 09:51:06 2006
@@ -31,6 +31,48 @@
        <Bug code="Dm" />
        <Reason message="Number classes should be able to call Number constructors" />
      </Match>
+     
+     <Match>
+       <Class name="java.io.ByteArrayInputStream" />
+       <Method name="ByteArrayInputStream" />
+       <Bug code="EI2" />
+       <Reason message="Javadoc specifies that ByteArrayInputStream's constructors are
designed to take a mutable byte array as an argument and not copy it" />
+     </Match>
+     
+     <Match>
+       <Class name="java.io.CharArrayReader" />
+       <Method name="CharArrayReader" />
+       <Bug code="EI2" />
+       <Reason message="Javadoc specifies that CharArrayReader's constructors are designed
to take a mutable char array as an argument and not copy it" />
+     </Match>   
 
+     <Match>
+       <Class name="java.io.LineNumberInputStream" />
+       <Method name="read" />
+       <Bug code="SF" />
+       <Reason message="Fallthrough in switch statement is meant to be there" />
+     </Match>
+     
+     <Match>
+       <Class name="java.io.LineNumberReader" />
+       <Method name="read" />
+       <Bug code="SF" />
+       <Reason message="Fallthrough in switch statement is meant to be there" />
+     </Match>
+     
+     <Match>
+       <Class name="java.lang.String" />
+       <Bug code="ES" />
+       <Reason message="OK to compare Strings using  using == or != in the String class
itself" />
+     </Match>
+     
+     <Match>
+       <Class name="java.lang.String" />
+       <Method name="indexOf" />
+       <Bug code="UPM" />
+       <Reason message="Ignore this unused private method" />
+     </Match>
+     
 </FindBugsFilter>
+
 



Mime
View raw message