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 2012/09/17 21:54:33 UTC
svn commit: r1386794 - /commons/proper/math/trunk/findbugs-exclude-filter.xml
Author: tn
Date: Mon Sep 17 19:54:33 2012
New Revision: 1386794
URL: http://svn.apache.org/viewvc?rev=1386794&view=rev
Log:
Add findbugs exception for RealVector#equals method.
Modified:
commons/proper/math/trunk/findbugs-exclude-filter.xml
Modified: commons/proper/math/trunk/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/findbugs-exclude-filter.xml?rev=1386794&r1=1386793&r2=1386794&view=diff
==============================================================================
--- commons/proper/math/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/math/trunk/findbugs-exclude-filter.xml Mon Sep 17 19:54:33 2012
@@ -217,6 +217,11 @@
<Method name="getDataRef" params="" returns="org.apache.commons.math3.FieldElement[]" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
+ <!-- The equals method for RealVector intentionally throws an exception -->
+ <Match>
+ <Class name="org.apache.commons.math3.linear.RealVector"/>
+ <Bug pattern="EQ_UNUSUAL" />
+ </Match>
<Match>
<Class name="org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint"/>
<Method name="<init>" params="int[]" returns="void" />