This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new c6d6211e6 [Fix Javadoc] Both IEEE754rUtils.max(final float...) and
IEEE754rUtils.max(final double...) methods Javadocs state incorrect return
value (#1508)
c6d6211e6 is described below
commit c6d6211e6209ca7bb936825906c9d2bb2e772979
Author: IcoreE <[email protected]>
AuthorDate: Sat Nov 29 22:34:28 2025 +0800
[Fix Javadoc] Both IEEE754rUtils.max(final float...) and
IEEE754rUtils.max(final double...) methods Javadocs state incorrect return
value (#1508)
---
src/main/java/org/apache/commons/lang3/math/IEEE754rUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/math/IEEE754rUtils.java
b/src/main/java/org/apache/commons/lang3/math/IEEE754rUtils.java
index 074b3eb0a..1b261e6a3 100644
--- a/src/main/java/org/apache/commons/lang3/math/IEEE754rUtils.java
+++ b/src/main/java/org/apache/commons/lang3/math/IEEE754rUtils.java
@@ -33,7 +33,7 @@ public class IEEE754rUtils {
* Returns the maximum value in an array.
*
* @param array an array, must not be null or empty.
- * @return the minimum value in the array.
+ * @return the maximum value in the array.
* @throws NullPointerException if {@code array} is {@code null}.
* @throws IllegalArgumentException if {@code array} is empty.
* @since 3.4 Changed signature from max(double[]) to max(double...)
@@ -88,7 +88,7 @@ public static double max(final double a, final double b,
final double c) {
* Returns the maximum value in an array.
*
* @param array an array, must not be null or empty.
- * @return the minimum value in the array.
+ * @return the maximum value in the array.
* @throws NullPointerException if {@code array} is {@code null}.
* @throws IllegalArgumentException if {@code array} is empty.
* @since 3.4 Changed signature from max(float[]) to max(float...)