You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Yannakopoulos (JIRA)" <ji...@apache.org> on 2011/02/22 19:02:38 UTC

[jira] Commented: (MATH-532) [Math] Clirr report and 'org.apache.commons.math.util.MathUtils'

    [ https://issues.apache.org/jira/browse/MATH-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997931#comment-12997931 ] 

Michael Yannakopoulos commented on MATH-532:
--------------------------------------------

What is more, the enumeration 'public static enum OrderDirection' that is included in the same class doesn't mentions in its javadoc a "@since 2.2" tag, although clirr reports state that the enum is added in the 2.2 version of ASF Commons Math project...

> [Math] Clirr report and 'org.apache.commons.math.util.MathUtils'
> ----------------------------------------------------------------
>
>                 Key: MATH-532
>                 URL: https://issues.apache.org/jira/browse/MATH-532
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Linux Ubuntu 10.04 (lucid)
>            Reporter: Michael Yannakopoulos
>            Priority: Minor
>              Labels: documentation
>
> Clirr report mentions that method 'public void checkOrder(double[], org.apache.commons.math.util.MathUtils$OrderDirection, boolean)' has been added, however this doesn't comply with the javadoc of the very same function (because not "@since 2.2" tag was found). The same thing happens with the methods listed bellow:
> 'public void checkOrder(double[])'
> 'public boolean equals(float, float, float)'
> 'public boolean equals(float, float, int)'
> 'public boolean equalsIncludingNaN(float, float)'
> 'public boolean equalsIncludingNaN(float, float, float)'
> 'public boolean equalsIncludingNaN(float, float, int)'
> 'public boolean equalsIncludingNaN(float[], float[])'
> 'public boolean equalsIncludingNaN(double, double)'
> 'public boolean equalsIncludingNaN(double, double, double)'
> 'public boolean equalsIncludingNaN(double, double, int)'
> 'public boolean equalsIncludingNaN(double[], double[])'
> 'public double safeNorm(double[])'
> In addition to this some functions have been deprecated but neither is it mentioned in the javadoc the version as of which they have been deprecated nor the clirr report refers to these methods. These are:
> Deprecated Methods:
> 'public boolean equals(float, float)'
> 'public boolean equals(float[], float[])'

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira