You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/04/30 23:17:17 UTC
svn commit: r1477834 -
/commons/proper/collections/trunk/findbugs-exclude-filter.xml
Author: tn
Date: Tue Apr 30 21:17:16 2013
New Revision: 1477834
URL: http://svn.apache.org/r1477834
Log:
Added exlude filter for MultiKey.
Modified:
commons/proper/collections/trunk/findbugs-exclude-filter.xml
Modified: commons/proper/collections/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/findbugs-exclude-filter.xml?rev=1477834&r1=1477833&r2=1477834&view=diff
==============================================================================
--- commons/proper/collections/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/collections/trunk/findbugs-exclude-filter.xml Tue Apr 30 21:17:16 2013
@@ -65,7 +65,7 @@
<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 -->
+ <!-- The ObjectArrayIterator does iterate over an array, thus we do not want to copy it -->
<Match>
<Class name="org.apache.commons.collections4.iterators.ObjectArrayIterator" />
<Or>
@@ -74,4 +74,11 @@
</Or>
</Match>
+ <!-- The constructor has a boolean argument which controls whether the array shall be copied or not -->
+ <Match>
+ <Class name="org.apache.commons.collections4.keyvalue.MultiKey" />
+ <Method name="<init>" params="java.lang.Object[], boolean" returns="void" />
+ <Bug pattern="EI_EXPOSE_REP2" />
+ </Match>
+
</FindBugsFilter>