commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1386794 - /commons/proper/math/trunk/findbugs-exclude-filter.xml
Date Mon, 17 Sep 2012 19:54:33 GMT
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="&lt;init>" params="int[]" returns="void" />



Mime
View raw message