Add findbugs exclude filters for ObjectArrayIterator and UnmodifiableBidiMap.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-04-27 12:40:02 +00:00
parent d574dffb1f
commit bac0bd081e
1 changed files with 15 additions and 0 deletions

View File

@ -52,6 +52,12 @@
<Bug pattern="EQ_UNUSUAL" />
</Match>
<!-- Access to field inverse is 100% synchronized, findbugs may be inaccurate for this check -->
<Match>
<Class name="org.apache.commons.collections4.bidimap.UnmodifiableBidiMap" />
<Bug pattern="IS2_INCONSISTENT_SYNC" />
</Match>
<!-- The compare method in ComparatorChain has to handle a corner-case for Integer.MIN_VALUE -->
<Match>
<Class name="org.apache.commons.collections4.comparators.ComparatorChain" />
@ -59,4 +65,13 @@
<Bug pattern="RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE" />
</Match>
<!-- The ObjectArrayIterator does iterate over an array, thus this we do not want to copy it -->
<Match>
<Class name="org.apache.commons.collections4.iterators.ObjectArrayIterator" />
<Or>
<Bug pattern="EI_EXPOSE_REP" />
<Bug pattern="EI_EXPOSE_REP2" />
</Or>
</Match>
</FindBugsFilter>