From e3eaa8599e49253d9af6b6d81d6470086827612d Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 15 Jan 2023 07:55:27 -0500 Subject: [PATCH] Fix typos --- .../commons/collections4/bloomfilter/EnhancedDoubleHasher.java | 2 +- .../commons/collections4/functors/ComparatorPredicate.java | 2 +- .../commons/collections4/bloomfilter/IncrementingHasher.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java b/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java index 056c16379..7b84730db 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java @@ -20,7 +20,7 @@ import java.util.Objects; import java.util.function.IntPredicate; /** - * A Hasher that implements combinatorial hashing as as described by + * A Hasher that implements combinatorial hashing as described by * Krisch and Mitzenmacher using the enhanced double hashing technique * described in the wikipedia article Double Hashing. *

diff --git a/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java b/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java index 5a50c6bed..f584492fa 100644 --- a/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java +++ b/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java @@ -41,7 +41,7 @@ import org.apache.commons.collections4.Predicate; * }; * * - *

Using the declared variables, the {@code ComparatorPredicate} can be used used in the + *

Using the declared variables, the {@code ComparatorPredicate} can be used in the * following way:

* *
diff --git a/src/test/java/org/apache/commons/collections4/bloomfilter/IncrementingHasher.java b/src/test/java/org/apache/commons/collections4/bloomfilter/IncrementingHasher.java
index 2349f1b1d..94b77c5d5 100644
--- a/src/test/java/org/apache/commons/collections4/bloomfilter/IncrementingHasher.java
+++ b/src/test/java/org/apache/commons/collections4/bloomfilter/IncrementingHasher.java
@@ -20,7 +20,7 @@ import java.util.Objects;
 import java.util.function.IntPredicate;
 
 /**
- * A Hasher that implements simple combinatorial hashing as as described by
+ * A Hasher that implements simple combinatorial hashing as described by
  * Krisch and Mitzenmacher.
  *
  * 

To be used for testing only.