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 2006/12/19 13:25:05 UTC

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

Author: tellison
Date: Tue Dec 19 04:25:04 2006
New Revision: 488657

URL: http://svn.apache.org/viewvc?view=rev&rev=488657
Log:
Update findbugs exclusion filter in line with HARMONY-2383 ([classlib] [luni] Fixes for some minor issues in the java.util package found by Melody)

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=488657&r1=488656&r2=488657
==============================================================================
--- harmony/standard/tools/FindBugs/exclusionFilter.xml (original)
+++ harmony/standard/tools/FindBugs/exclusionFilter.xml Tue Dec 19 04:25:04 2006
@@ -89,7 +89,31 @@
      	<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
      	<Reason message="Constructs a new instance instead of using super.clone()." />
      </Match>
-</FindBugsFilter>
-
-
 
+     <Match>
+       <Class name="java.util.AbstractList" />
+       <Bug code="Se" />
+       <Reason message="It does make sense for AbstractList to have a transient field because it has serializable subclasses" />
+     </Match>
+     
+     <Match>
+       <Class name="java.util.GregorianCalendar" />
+       <Method name="equals" />
+       <Bug code="NP" />
+       <Reason message="GregorianCalendar.equals does not need to check for null because it delegates to its superclass, which does" />
+     </Match>
+     
+     <Match>
+       <Class name="java.util.PropertyPermission" />
+       <Method name="equals" />
+       <Bug code="NP" />
+       <Reason message="PropertyPermission.equals does not need to check for null because it delegates to its superclass, which does" />
+     </Match>
+     
+      <Match>
+       <Class name="java.util.TreeMap" />
+       <Field name="comparator" />
+       <Bug code="Se" />
+       <Reason message="The comparator field is part of the serialized form specification for TreeMap" />
+     </Match>
+</FindBugsFilter>