Author: luc
Date: Sun Mar 27 16:30:50 2011
New Revision: 1085980
URL: http://svn.apache.org/viewvc?rev=1085980&view=rev
Log:
updated findbugs exceptions after 3.0 API changes
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=1085980&r1=1085979&r2=1085980&view=diff
==============================================================================
--- commons/proper/math/trunk/findbugs-exclude-filter.xml (original)
+++ commons/proper/math/trunk/findbugs-exclude-filter.xml Sun Mar 27 16:30:50
2011
@@ -40,14 +40,20 @@
</Match>
<Match>
<Class name="org.apache.commons.math.analysis.solvers.BrentSolver" />
- <Method name="solve"
params="org.apache.commons.math.analysis.UnivariateRealFunction,double,double,double,double,double,double"
returns="double" />
+ <Method name="brent" params="double,double,double,double" returns="double"
/>
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
<Match>
<Class name="org.apache.commons.math.analysis.solvers.MullerSolver" />
<Or>
- <Method name="solve"
params="org.apache.commons.math.analysis.UnivariateRealFunction,double,double"
returns="double" />
- <Method name="solve2"
params="org.apache.commons.math.analysis.UnivariateRealFunction,double,double"
returns="double" />
+ <Method name="solve" params="double,double,double,double"
returns="double" />
+ </Or>
+ <Bug pattern="FE_FLOATING_POINT_EQUALITY" />
+ </Match>
+ <Match>
+ <Class name="org.apache.commons.math.analysis.solvers.MullerSolver2" />
+ <Or>
+ <Method name="doSolve" params="" returns="double" />
</Or>
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
@@ -251,4 +257,11 @@
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
</Match>
+ <!-- False positive warning from findbugs, the integer division result cast
to double is correct here -->
+ <Match>
+ <Class name="org.apache.commons.math.stat.inference.MannWhitneyUTestImpl"
/>
+ <Method name="mannWhitneyU" params="double[],double[]" returns="double" />
+ <Bug pattern="ICAST_IDIV_CAST_TO_DOUBLE" />
+ </Match>
+
</FindBugsFilter>