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

Gary D. Gregory commented on LANG-1797:
---------------------------------------

Good catch, thank you [~zhongxin].

> 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
>            Priority: Major
>             Fix For: 3.20.1
>
>
> 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