updated findbugs exceptions after 3.0 API changes

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1085980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-03-27 16:30:50 +00:00
parent ed1929b7c2
commit 4676568449
1 changed files with 16 additions and 3 deletions

View File

@ -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>