From 90b327a96cc31a156e86e8eb7e98f84cb2d822bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=A2=A6=E6=97=97?= <2663479778@qq.com> Date: Sat, 29 Jul 2023 20:05:43 +0800 Subject: [PATCH] Fix java doc: 'c1' to 'comparable1', 'c2' to 'comparable2' (#1090) --- .../commons/lang3/compare/ComparableUtils.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 f5db33dae..a8b1eb13a 100644 --- a/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java +++ b/src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java @@ -213,9 +213,9 @@ public class ComparableUtils { *

* * @param Type of what we are comparing. - * @param comparable1 an argument. - * @param comparable2 another argument. - * @return the largest of {@code c1} and {@code c2}. + * @param comparable1 the first comparable, may be null. + * @param comparable2 the second comparable, may be null. + * @return the largest of {@code comparable1} and {@code comparable2}. * @see ObjectUtils#max(Comparable...) * @since 3.13.0 */ @@ -230,9 +230,9 @@ public class ComparableUtils { *

* * @param
Type of what we are comparing. - * @param comparable1 an argument. - * @param comparable2 another argument. - * @return the smallest of {@code c1} and {@code c2}. + * @param comparable1 the first comparable, may be null. + * @param comparable2 the second comparable, may be null. + * @return the smallest of {@code comparable1} and {@code comparable2}. * @see ObjectUtils#min(Comparable...) * @since 3.13.0 */