Add findbugs exclude for ComparatorChain.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-01-22 16:08:03 +00:00
parent e1bd0cbfb5
commit 31ee36d162
1 changed files with 7 additions and 0 deletions

View File

@ -59,4 +59,11 @@
<Bug pattern="EQ_UNUSUAL" />
</Match>
<!-- The compare method in ComparatorChain has to handle a corner-case for Integer.MIN_VALUE -->
<Match>
<Class name="org.apache.commons.collections.comparators.ComparatorChain" />
<Method name="compare" params="java.lang.Object, java.lang.Object" returns="int" />
<Bug pattern="RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE" />
</Match>
</FindBugsFilter>