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 ba287b7c2 Javadoc
ba287b7c2 is described below
commit ba287b7c22c8d876d5291007d5e04e31687178e3
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 4 11:26:13 2024 -0400
Javadoc
Whitespace
---
.../collections4/bloomfilter/AbstractBloomFilterTest.java | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
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 0aee678e3..0129bef00 100644
---
a/src/test/java/org/apache/commons/collections4/bloomfilter/AbstractBloomFilterTest.java
+++
b/src/test/java/org/apache/commons/collections4/bloomfilter/AbstractBloomFilterTest.java
@@ -31,12 +31,12 @@ import java.util.List;
import org.junit.jupiter.api.Test;
/**
- * Test standard methods in the {@link BloomFilter} interface.
+ * Tests standard methods in the {@link BloomFilter} interface.
*/
public abstract class AbstractBloomFilterTest<T extends BloomFilter> {
/**
- * Testing class returns the value as the only value.
+ * Test fixture class returns the value as the only value.
*/
public static class BadHasher implements Hasher {
@@ -72,7 +72,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
}
/**
- * Create an empty version of the BloomFilter implementation we are
testing.
+ * Creates an empty version of the BloomFilter implementation we are
testing.
*
* @param shape the shape of the filter.
* @return a BloomFilter implementation.
@@ -80,7 +80,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
protected abstract T createEmptyFilter(Shape shape);
/**
- * Create the BloomFilter implementation we are testing.
+ * Creates the BloomFilter implementation we are testing.
*
* @param shape the shape of the filter.
* @param extractor A BitMap extractor to build the filter with.
@@ -93,7 +93,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
}
/**
- * Create the BloomFilter implementation we are testing.
+ * Creates the BloomFilter implementation we are testing.
*
* @param shape the shape of the filter.
* @param hasher the hasher to use to create the filter.
@@ -106,7 +106,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
}
/**
- * Create the BloomFilter implementation we are testing.
+ * Creates the BloomFilter implementation we are testing.
*
* @param shape the shape of the filter.
* @param extractor An Index extractor to build the filter with.
@@ -168,7 +168,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
}
/**
- * Test cardinality and isEmpty. Bloom filter must be able to accept
multiple
+ * Tests cardinality and isEmpty. Bloom filter must be able to accept
multiple
* IndexExtractor merges until all the bits are populated.
*
* @param bf The Bloom filter to test.
@@ -192,6 +192,7 @@ public abstract class AbstractBloomFilterTest<T extends
BloomFilter> {
assertFalse(bf.isEmpty(), "Wrong value at " + i);
}
}
+
@Test
public void testClear() {
final BloomFilter bf1 = createFilter(getTestShape(),
TestingHashers.FROM1);