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-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new 960b1470c In-line comment and messages typos
960b1470c is described below

commit 960b1470c9074fcad26ce34b3ac76deae02013f9
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri May 19 08:56:46 2023 -0400

    In-line comment and messages typos
---
 .../java/org/apache/commons/collections4/SplitMapUtilsTest.java   | 4 ++--
 .../collections4/comparators/TransformingComparatorTest.java      | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/collections4/SplitMapUtilsTest.java 
b/src/test/java/org/apache/commons/collections4/SplitMapUtilsTest.java
index 0085ae5c2..fe327ae1d 100644
--- a/src/test/java/org/apache/commons/collections4/SplitMapUtilsTest.java
+++ b/src/test/java/org/apache/commons/collections4/SplitMapUtilsTest.java
@@ -90,7 +90,7 @@ public class SplitMapUtilsTest {
         m.put("baz", 300);
         attemptPutOperation(() -> map.putAll(m));
 
-        // equals, hashcode
+        // equals, hashCode
         final IterableMap<String, Integer> other = 
SplitMapUtils.readableMap(transformedMap);
         assertEquals(other, map);
         assertEquals(other.hashCode(), map.hashCode());
@@ -124,7 +124,7 @@ public class SplitMapUtilsTest {
         attemptGetOperation(() -> map.containsValue(null));
         attemptGetOperation(() -> map.remove(null));
 
-        // equals, hashcode
+        // equals, hashCode
         final Map<String, String> other = 
SplitMapUtils.writableMap(transformedMap);
         assertEquals(other, map);
         assertEquals(other.hashCode(), map.hashCode());
diff --git 
a/src/test/java/org/apache/commons/collections4/comparators/TransformingComparatorTest.java
 
b/src/test/java/org/apache/commons/collections4/comparators/TransformingComparatorTest.java
index 97ec1acf3..3513e74d4 100644
--- 
a/src/test/java/org/apache/commons/collections4/comparators/TransformingComparatorTest.java
+++ 
b/src/test/java/org/apache/commons/collections4/comparators/TransformingComparatorTest.java
@@ -68,13 +68,13 @@ public class TransformingComparatorTest extends 
AbstractComparatorTest<Integer>
         final TransformingComparator<String, String> comp1 = new 
TransformingComparator<>(t1);
         final TransformingComparator<String, String> comp2 = new 
TransformingComparator<>(t1, comp1);
 
-        // Checks the contract: equals-hashcode on comp1 and comp2
+        // Checks the contract: equals-hashCode on comp1 and comp2
         assertTrue(comp1.equals(comp2) ? comp1.hashCode() == comp2.hashCode() 
: true,
-                "Contract failed: equals-hashcode");
+                "Contract failed: equals-hashCode");
 
-        // Checks the contract: equals-hashcode on comp1 and comp2
+        // Checks the contract: equals-hashCode on comp1 and comp2
         assertTrue(comp2.equals(comp1) ? comp2.hashCode() == comp1.hashCode() 
: true,
-                "Contract failed: equals-hashcode");
+                "Contract failed: equals-hashCode");
     }
 
     @Override

Reply via email to