You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/03/17 21:52:42 UTC

svn commit: r755389 - /commons/proper/lang/trunk/findbugs-exclude-filter.xml

Author: sebb
Date: Tue Mar 17 20:52:42 2009
New Revision: 755389

URL: http://svn.apache.org/viewvc?rev=755389&view=rev
Log:
Start collecting Findbugs false positives

Added:
    commons/proper/lang/trunk/findbugs-exclude-filter.xml   (with props)

Added: commons/proper/lang/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/findbugs-exclude-filter.xml?rev=755389&view=auto
==============================================================================
--- commons/proper/lang/trunk/findbugs-exclude-filter.xml (added)
+++ commons/proper/lang/trunk/findbugs-exclude-filter.xml Tue Mar 17 20:52:42 2009
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!--
+   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.
+-->
+
+<!--
+  This file contains some false positive bugs detected by findbugs. Their
+  false positive nature has been analyzed individually and they have been
+  put here to instruct findbugs it must ignore them.
+-->
+<FindBugsFilter>
+
+  <Match>
+    <Class name="org.apache.commons.lang.BooleanUtils" />
+    <Method name="toBoolean" />
+    <Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
+  </Match>
+
+  <Match>
+    <Class name="org.apache.commons.lang.StringUtils" />
+    <Method name="indexOfDifference"/>
+    <Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
+  </Match>
+
+</FindBugsFilter>

Propchange: commons/proper/lang/trunk/findbugs-exclude-filter.xml
------------------------------------------------------------------------------
    svn:eol-style = native