harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r820797 - /harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml
Date Thu, 01 Oct 2009 21:20:06 GMT
Author: tellison
Date: Thu Oct  1 21:20:05 2009
New Revision: 820797

URL: http://svn.apache.org/viewvc?rev=820797&view=rev
Log:
FindBugs filter copied in from http://svn.apache.org/viewvc/harmony/standard/tools/FindBugs/exclusionFilter.xml

Added:
    harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml   (with
props)

Added: harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml?rev=820797&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml (added)
+++ harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml Thu Oct
 1 21:20:05 2009
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
+
+	<!-- Exclusion filter for running FindBugs against Apache Harmony -->
+
+	<!--
+		Format and code information is available here
+		http://findbugs.sourceforge.net/manual/filter.html
+	-->
+
+<FindBugsFilter>
+
+	<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>

Propchange: harmony/enhanced/classlib/trunk/modules/prefs/make/findbugs-exclude-filter.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message