This is an automated email from the ASF dual-hosted git repository.
aherbert 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 1d07ca406 Javadoc
1d07ca406 is described below
commit 1d07ca40667849742d8712bf55770c559cd6203d
Author: aherbert <[email protected]>
AuthorDate: Mon Jun 12 11:34:14 2023 +0100
Javadoc
---
.../apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java | 2 +-
.../commons/collections4/bloomfilter/AbstractBloomFilterTest.java | 2 +-
2 files changed, 2 insertions(+), 2 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 7b84730db..d4091cdd2 100644
---
a/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java
+++
b/src/main/java/org/apache/commons/collections4/bloomfilter/EnhancedDoubleHasher.java
@@ -132,7 +132,7 @@ public class EnhancedDoubleHasher implements Hasher {
/**
* Performs a modulus calculation on an unsigned long and an integer
divisor.
* @param dividend a unsigned long value to calculate the modulus of.
- * @param divisor the divisor for the modulus calculation.
+ * @param divisor the divisor for the modulus calculation (must be
strictly positive).
* @return the remainder or modulus value.
*/
static int mod(final long dividend, final int divisor) {
diff --git
a/src/test/java/org/apache/commons/collections4/bloomfilter/AbstractBloomFilterTest.java
b/src/test/java/org/apache/commons/collections4/bloomfilter/AbstractBloomFilterTest.java
index 7211779e4..4b5a275e5 100644
---
a/src/test/java/org/apache/commons/collections4/bloomfilter/AbstractBloomFilterTest.java
+++
b/src/test/java/org/apache/commons/collections4/bloomfilter/AbstractBloomFilterTest.java
@@ -247,7 +247,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
}
/**
- * Tests that the andCardinality calculations are correct.
+ * Tests that the estimated union calculations are correct.
*/
@Test
public final void testEstimateUnion() {