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:
parent
d574dffb1f
commit
bac0bd081e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue