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 9b2f986f3 Javadoc
9b2f986f3 is described below

commit 9b2f986f31c1c4b2842881e7caeea4e11264754a
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Dec 21 15:43:50 2025 -0500

    Javadoc
---
 src/main/java/org/apache/commons/lang3/DoubleRange.java   |  4 ++--
 src/main/java/org/apache/commons/lang3/IntegerRange.java  |  4 ++--
 src/main/java/org/apache/commons/lang3/LongRange.java     |  4 ++--
 src/main/java/org/apache/commons/lang3/ObjectUtils.java   |  4 ++--
 src/test/java/org/apache/commons/lang3/CharRangeTest.java | 10 +++++-----
 5 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/DoubleRange.java 
b/src/main/java/org/apache/commons/lang3/DoubleRange.java
index 0c9242f64..f23f36335 100644
--- a/src/main/java/org/apache/commons/lang3/DoubleRange.java
+++ b/src/main/java/org/apache/commons/lang3/DoubleRange.java
@@ -38,7 +38,7 @@ public final class DoubleRange extends NumberRange<Double> {
      * </p>
      *
      * <p>
-     * The arguments may be passed in the order (min,max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
+     * The arguments may be passed in the order (min, max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
      * </p>
      *
      * @param fromInclusive the first value that defines the edge of the 
range, inclusive.
@@ -57,7 +57,7 @@ public static DoubleRange of(final double fromInclusive, 
final double toInclusiv
      * </p>
      *
      * <p>
-     * The arguments may be passed in the order (min,max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
+     * The arguments may be passed in the order (min, max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
      * </p>
      *
      * @param fromInclusive the first value that defines the edge of the 
range, inclusive.
diff --git a/src/main/java/org/apache/commons/lang3/IntegerRange.java 
b/src/main/java/org/apache/commons/lang3/IntegerRange.java
index 80f8fd40e..cb1212eef 100644
--- a/src/main/java/org/apache/commons/lang3/IntegerRange.java
+++ b/src/main/java/org/apache/commons/lang3/IntegerRange.java
@@ -40,7 +40,7 @@ public final class IntegerRange extends NumberRange<Integer> {
      * </p>
      *
      * <p>
-     * The arguments may be passed in the order (min,max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
+     * The arguments may be passed in the order (min, max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
      * </p>
      *
      * @param fromInclusive the first value that defines the edge of the 
range, inclusive.
@@ -59,7 +59,7 @@ public static IntegerRange of(final int fromInclusive, final 
int toInclusive) {
      * </p>
      *
      * <p>
-     * The arguments may be passed in the order (min,max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
+     * The arguments may be passed in the order (min, max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
      * </p>
      *
      * @param fromInclusive the first value that defines the edge of the 
range, inclusive.
diff --git a/src/main/java/org/apache/commons/lang3/LongRange.java 
b/src/main/java/org/apache/commons/lang3/LongRange.java
index 8eb881f93..db3c079b4 100644
--- a/src/main/java/org/apache/commons/lang3/LongRange.java
+++ b/src/main/java/org/apache/commons/lang3/LongRange.java
@@ -40,7 +40,7 @@ public final class LongRange extends NumberRange<Long> {
      * </p>
      *
      * <p>
-     * The arguments may be passed in the order (min,max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
+     * The arguments may be passed in the order (min, max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
      * </p>
      *
      * @param fromInclusive the first value that defines the edge of the 
range, inclusive.
@@ -59,7 +59,7 @@ public static LongRange of(final long fromInclusive, final 
long toInclusive) {
      * </p>
      *
      * <p>
-     * The arguments may be passed in the order (min,max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
+     * The arguments may be passed in the order (min, max) or (max,min). The 
getMinimum and getMaximum methods will return the correct values.
      * </p>
      *
      * @param fromInclusive the first value that defines the edge of the 
range, inclusive.
diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java 
b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index e62fd4c34..660603687 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
@@ -740,8 +740,8 @@ public static String hashCodeHex(final Object object) {
      * ObjectUtils.hashCodeMulti()                 = 1
      * ObjectUtils.hashCodeMulti((Object[]) null)  = 1
      * ObjectUtils.hashCodeMulti(a)                = 31 + a.hashCode()
-     * ObjectUtils.hashCodeMulti(a,b)              = (31 + a.hashCode()) * 31 
+ b.hashCode()
-     * ObjectUtils.hashCodeMulti(a,b,c)            = ((31 + a.hashCode()) * 31 
+ b.hashCode()) * 31 + c.hashCode()
+     * ObjectUtils.hashCodeMulti(a, b)             = (31 + a.hashCode()) * 31 
+ b.hashCode()
+     * ObjectUtils.hashCodeMulti(a, b, c)          = ((31 + a.hashCode()) * 31 
+ b.hashCode()) * 31 + c.hashCode()
      * </pre>
      *
      * @param objects the objects to obtain the hash code of, may be {@code 
null}.
diff --git a/src/test/java/org/apache/commons/lang3/CharRangeTest.java 
b/src/test/java/org/apache/commons/lang3/CharRangeTest.java
index 173843149..becf3cf3b 100644
--- a/src/test/java/org/apache/commons/lang3/CharRangeTest.java
+++ b/src/test/java/org/apache/commons/lang3/CharRangeTest.java
@@ -342,12 +342,12 @@ void testHashCodeLang1802() {
         assertNotEquals(normal.hashCode(), negated.hashCode(), "Negated and 
normal ranges should have different hash codes");
         // Test that ranges with different start/end produce different hash 
codes
         assertNotEquals(range1.hashCode(), range2.hashCode(), "is('a') vs 
is('b')");
-        assertNotEquals(range1.hashCode(), range3.hashCode(), "is('a') vs 
isIn('a','z')");
-        assertNotEquals(range3.hashCode(), range4.hashCode(), "isIn('a','z') 
vs isIn('b','z')");
+        assertNotEquals(range1.hashCode(), range3.hashCode(), "is('a') vs 
isIn('a', 'z')");
+        assertNotEquals(range3.hashCode(), range4.hashCode(), "isIn('a', 'z') 
vs isIn('b', 'z')");
         assertNotEquals(range1.hashCode(), range5.hashCode(), "is('a') vs 
isNot('a')");
-        assertNotEquals(range3.hashCode(), range6.hashCode(), "isIn('a','z') 
vs isNotIn('a','z')");
-        assertNotEquals(range6.hashCode(), range7.hashCode(), 
"isNotIn('a','z') vs isNotIn('b','z')");
-        assertNotEquals(range8.hashCode(), range9.hashCode(), "isIn(1,2) vs 
isNotIn(1,2)");
+        assertNotEquals(range3.hashCode(), range6.hashCode(), "isIn('a', 'z') 
vs isNotIn('a', 'z')");
+        assertNotEquals(range6.hashCode(), range7.hashCode(), "isNotIn('a', 
'z') vs isNotIn('b', 'z')");
+        assertNotEquals(range8.hashCode(), range9.hashCode(), "isIn(1, 2) vs 
isNotIn(1, 2)");
         // Test that equal ranges have equal hash codes
         final CharRange sameAsRange1 = CharRange.is('a');
         assertEquals(range1, sameAsRange1, "Equal ranges should be equal");

Reply via email to