Add findbugs exception for RealVector#equals method.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1386794 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2012-09-17 19:54:33 +00:00
parent 830cd9eeca
commit f91ffbac36
1 changed files with 5 additions and 0 deletions

View File

@ -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="&lt;init>" params="int[]" returns="void" />