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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
[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


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

       
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

    [ 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

       
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/MATH-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe resolved MATH-532.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

fixed in subversion repository as of r1073472 for branch 2.X and r1073473 for trunk

> [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
>             Fix For: 2.2
>
>
> 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

       
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/MATH-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-532.
------------------------------


Closing issue as it was included in version 2.2, which has been released

> [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
>             Fix For: 2.2
>
>
> 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