Author: psteitz
Date: Sat May 23 19:51:36 2009
New Revision: 778002
URL: http://svn.apache.org/viewvc?rev=778002&view=rev
Log:
added findbugs exclute filter.
Added:
commons/proper/pool/trunk/findbugs-exclude-filter.xml (with props)
Added: commons/proper/pool/trunk/findbugs-exclude-filter.xml
URL:
http://svn.apache.org/viewvc/commons/proper/pool/trunk/findbugs-exclude-filter.xml?rev=778002&view=auto
==============================================================================
--- commons/proper/pool/trunk/findbugs-exclude-filter.xml (added)
+++ commons/proper/pool/trunk/findbugs-exclude-filter.xml Sat May 23 19:51:36
2009
@@ -0,0 +1,48 @@
+<?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 to ignore them.
+-->
+<FindBugsFilter>
+ <!-- findbugs thinks this is naked, but it is not -->
+ <Match>
+ <Class name="org.apache.commons.pool.impl.GenericKeyedObjectPool" />
+ <Method name="allocate"/>
+ <Bug pattern="NN_NAKED_NOTIFY" />
+ </Match>
+ <!-- Iteration has to be over keys here -->
+ <Match>
+ <Class name="org.apache.commons.pool.impl.GenericKeyedObjectPool" />
+ <Method name="destroy"/>
+ <Bug pattern="WMI_WRONG_MAP_ITERATOR" />
+ </Match>
+ <!-- compareTo is implemented consistently with object equals in this case
-->
+ <Match>
+ <Class
name="org.apache.commons.pool.impl.GenericKeyedObjectPool$ObjectTimestampPair"
/>
+ <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
+ </Match>
+ <!-- findbugs thinks this is naked, but it is not -->
+ <Match>
+ <Class name="org.apache.commons.pool.impl.GenericObjectPool" />
+ <Method name="allocate"/>
+ <Bug pattern="NN_NAKED_NOTIFY" />
+ </Match>
+</FindBugsFilter>
Propchange: commons/proper/pool/trunk/findbugs-exclude-filter.xml
------------------------------------------------------------------------------
svn:eol-style = native