blob: 02f05e2a68503d43e827c92630f9ebf632f8fef5 [file] [log] [blame]
<?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 these is naked, but they are not -->
<Match>
<Class name="org.apache.commons.pool.impl.GenericKeyedObjectPool" />
<Method name="allocate"/>
<Bug pattern="NN_NAKED_NOTIFY" />
</Match>
<Match>
<Class name="org.apache.commons.pool.impl.GenericKeyedObjectPool" />
<Method name="close"/>
<Bug pattern="NN_NAKED_NOTIFY" />
</Match>
<Match>
<Class name="org.apache.commons.pool.impl.GenericObjectPool" />
<Method name="close"/>
<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>