harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r485625 - in /harmony/standard/tools/FindBugs: ./ README.txt exclusionFilter.xml
Date Mon, 11 Dec 2006 11:45:23 GMT
Author: tellison
Date: Mon Dec 11 03:45:22 2006
New Revision: 485625

URL: http://svn.apache.org/viewvc?view=rev&rev=485625
Log:
Apply modified version of HARMONY-2592 ([classlib] Should have an exclusion filter for running
findbugs)

Added:
    harmony/standard/tools/FindBugs/
    harmony/standard/tools/FindBugs/README.txt   (with props)
    harmony/standard/tools/FindBugs/exclusionFilter.xml   (with props)

Added: harmony/standard/tools/FindBugs/README.txt
URL: http://svn.apache.org/viewvc/harmony/standard/tools/FindBugs/README.txt?view=auto&rev=485625
==============================================================================
--- harmony/standard/tools/FindBugs/README.txt (added)
+++ harmony/standard/tools/FindBugs/README.txt Mon Dec 11 03:45:22 2006
@@ -0,0 +1,3 @@
+This directory contains metadata used when analyzing the Apache Harmony
+code using the FindBugs program (http://findbugs.sourceforge.net/).
+

Propchange: harmony/standard/tools/FindBugs/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/standard/tools/FindBugs/exclusionFilter.xml
URL: http://svn.apache.org/viewvc/harmony/standard/tools/FindBugs/exclusionFilter.xml?view=auto&rev=485625
==============================================================================
--- harmony/standard/tools/FindBugs/exclusionFilter.xml (added)
+++ harmony/standard/tools/FindBugs/exclusionFilter.xml Mon Dec 11 03:45:22 2006
@@ -0,0 +1,36 @@
+<?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 -->
+
+<FindBugsFilter>
+
+     <Match>
+       <Or>
+         <Class name="java.lang.Byte" />
+         <Class name="java.lang.Character" />
+         <Class name="java.lang.Integer" />
+         <Class name="java.lang.Long" />
+         <Class name="java.lang.Short" />
+       </Or>
+       <Bug code="Dm" />
+       <Reason message="Number classes should be able to call Number constructors" />
+     </Match>
+
+</FindBugsFilter>
+

Propchange: harmony/standard/tools/FindBugs/exclusionFilter.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message