harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r820980 - /harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml
Date Fri, 02 Oct 2009 11:55:02 GMT
Author: tellison
Date: Fri Oct  2 11:55:02 2009
New Revision: 820980

URL: http://svn.apache.org/viewvc?rev=820980&view=rev
Log:
Exclude false positive warning from FindBugs.

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

Added: harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml?rev=820980&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml (added)
+++ harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml Fri
Oct  2 11:55:02 2009
@@ -0,0 +1,41 @@
+<?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>
+
+	<!--
+        Spec requires that the class implements clone, but not cloneable.
+	-->
+	<Match>
+		<Class name="java.security.MessageDigest" />
+		<Method name="clone" />
+		<Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" />
+	</Match>
+	<Match>
+		<Class name="java.security.Signature" />
+		<Method name="clone" />
+		<Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" />
+	</Match>
+
+</FindBugsFilter>

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



Mime
View raw message