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 974e12ac4 Javadoc typos
974e12ac4 is described below
commit 974e12ac4295febc45c6f7488b636fa7267f7ec7
Author: Gary Gregory <[email protected]>
AuthorDate: Fri May 19 08:44:33 2023 -0400
Javadoc typos
---
.../java/org/apache/commons/collections4/keyvalue/MultiKeyTest.java | 2 +-
src/test/java/org/apache/commons/collections4/map/LRUMapTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/commons/collections4/keyvalue/MultiKeyTest.java
b/src/test/java/org/apache/commons/collections4/keyvalue/MultiKeyTest.java
index 85851af06..47dd29534 100644
--- a/src/test/java/org/apache/commons/collections4/keyvalue/MultiKeyTest.java
+++ b/src/test/java/org/apache/commons/collections4/keyvalue/MultiKeyTest.java
@@ -140,7 +140,7 @@ public class MultiKeyTest {
mk = new MultiKey<>(keys, false);
assertArrayEquals(new Object[]{THREE, FOUR, ONE, TWO}, mk.getKeys());
// change key - don't do this!
- // the hashcode of the MultiKey is now broken
+ // the hash code of the MultiKey is now broken
keys[3] = FIVE;
assertArrayEquals(new Object[]{THREE, FOUR, ONE, FIVE}, mk.getKeys());
}
diff --git a/src/test/java/org/apache/commons/collections4/map/LRUMapTest.java
b/src/test/java/org/apache/commons/collections4/map/LRUMapTest.java
index c9587c514..a4c11f156 100644
--- a/src/test/java/org/apache/commons/collections4/map/LRUMapTest.java
+++ b/src/test/java/org/apache/commons/collections4/map/LRUMapTest.java
@@ -450,7 +450,7 @@ public class LRUMapTest<K, V> extends
AbstractOrderedMapTest<K, V> {
@Override
public int hashCode() {
- // always return the same hashcode
+ // always return the same hash code
// that way, it will end up in the same bucket
return 12;
}