Zhongxin Yan created LANG-1797:
----------------------------------

             Summary: Both IEEE754rUtils.max(float...) and 
IEEE754rUtils.max(double...) methods Javadocs state incorrect return value
                 Key: LANG-1797
                 URL: https://issues.apache.org/jira/browse/LANG-1797
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.*
    Affects Versions: 3.20.0
            Reporter: Zhongxin Yan


Both the IEEE754rUtils.{{{}max(final float...){}}} and 
IEEE754rUtils.{{{}max(final double...){}}} methods correctly calculate and 
return the *maximum* value in the array, but their Javadocs incorrectly state:
{code:java}
@return the minimum value in the array.{code}
This is my {*}PR{*}. I look forward to it being merged [Github 
PR|https://github.com/apache/commons-lang/pull/1508]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to