This is an automated email from the ASF dual-hosted git repository.
aherbert 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 f59fa5c36 Fix the comment of ComparableUtils, using "smallest", not
"largest" (#1058)
f59fa5c36 is described below
commit f59fa5c36df23cc8da2c8708ddb60cd6203da354
Author: 徐梦旗 <[email protected]>
AuthorDate: Mon Apr 17 20:22:01 2023 +0800
Fix the comment of ComparableUtils, using "smallest", not "largest" (#1058)
---
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java
b/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java
index 9c7b8260b..f5db33dae 100644
--- a/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java
+++ b/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java
@@ -232,7 +232,7 @@ public class ComparableUtils {
* @param <A> Type of what we are comparing.
* @param comparable1 an argument.
* @param comparable2 another argument.
- * @return the largest of {@code c1} and {@code c2}.
+ * @return the smallest of {@code c1} and {@code c2}.
* @see ObjectUtils#min(Comparable...)
* @since 3.13.0
*/