You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by nd...@apache.org on 2006/12/24 06:38:00 UTC

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

Author: ndbeyer
Date: Sat Dec 23 21:38:00 2006
New Revision: 489987

URL: http://svn.apache.org/viewvc?view=rev&rev=489987
Log:
Update FindBugs exclusion file with 'prefs' module classes

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=489987&r1=489986&r2=489987
==============================================================================
--- harmony/standard/tools/FindBugs/exclusionFilter.xml (original)
+++ harmony/standard/tools/FindBugs/exclusionFilter.xml Sat Dec 23 21:38:00 2006
@@ -242,5 +242,21 @@
        <Bug code="IA" />
      </Match>
 
+	<Match>
+		<!-- These classes are not serializable. -->
+		<Or>
+			<Class name="java.util.prefs.NodeChangeEvent" />
+			<Class name="java.util.prefs.PreferenceChangeEvent" />
+		</Or>	
+		<Bug pattern="SE_BAD_FIELD" />
+	</Match>
+	
+	<Match>
+		<!-- This method is called from a loop. -->
+		<Class name="java.util.prefs.AbstractPreferences$EventDispatcher" />
+		<Method name="getEventObject" />
+		<Bug pattern="WA_NOT_IN_LOOP" />
+	</Match>
+	
 </FindBugsFilter>