From 8875dad1bfa34c70f8ea75c5cca91b9404d62710 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Thu, 26 Dec 2024 09:26:02 -0500 Subject: [PATCH] Replace 2x empty lines with a single one --- .../apache/commons/collections4/bloomfilter/CellExtractor.java | 1 - .../commons/collections4/bloomfilter/CountingBloomFilter.java | 1 - .../collections4/comparators/FixedOrderComparatorTest.java | 1 - .../collections4/iterators/CartesianProductIteratorTest.java | 1 - .../collections4/map/ConcurrentReferenceHashMapDefaultsTest.java | 1 - 5 files changed, 5 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java b/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java index 0b4a56b4d..f9f63bbed 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/CellExtractor.java @@ -19,7 +19,6 @@ package org.apache.commons.collections4.bloomfilter; import java.util.TreeMap; import java.util.function.IntPredicate; - /** * Some Bloom filter implementations use a count rather than a bit flag. The term {@code Cell} is used to * refer to these counts and their associated index. This class is the equivalent of the index extractor except diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java b/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java index 56048a8f7..acd6c94e3 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/CountingBloomFilter.java @@ -330,7 +330,6 @@ public interface CountingBloomFilter extends BloomFilter, C } } - /** * Adds the specified CellExtractor to this Bloom filter. * diff --git a/src/test/java/org/apache/commons/collections4/comparators/FixedOrderComparatorTest.java b/src/test/java/org/apache/commons/collections4/comparators/FixedOrderComparatorTest.java index 71a0567c2..6b1e454e2 100644 --- a/src/test/java/org/apache/commons/collections4/comparators/FixedOrderComparatorTest.java +++ b/src/test/java/org/apache/commons/collections4/comparators/FixedOrderComparatorTest.java @@ -61,7 +61,6 @@ public class FixedOrderComparatorTest extends AbstractComparatorTest { assertFalse(comparator.equals(null)); } - @Test void expectFalseWhenFixedOrderComparatorIsComparedWithOtherObject() { final FixedOrderComparator comparator = new FixedOrderComparator<>(); diff --git a/src/test/java/org/apache/commons/collections4/iterators/CartesianProductIteratorTest.java b/src/test/java/org/apache/commons/collections4/iterators/CartesianProductIteratorTest.java index 8f7d87220..6bca74fef 100644 --- a/src/test/java/org/apache/commons/collections4/iterators/CartesianProductIteratorTest.java +++ b/src/test/java/org/apache/commons/collections4/iterators/CartesianProductIteratorTest.java @@ -31,7 +31,6 @@ import java.util.NoSuchElementException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - /** * Test class for {@link CartesianProductIterator}. */ diff --git a/src/test/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMapDefaultsTest.java b/src/test/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMapDefaultsTest.java index 614cc7af8..814bb9383 100644 --- a/src/test/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMapDefaultsTest.java +++ b/src/test/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMapDefaultsTest.java @@ -15,7 +15,6 @@ * limitations under the License. */ - package org.apache.commons.collections4.map; /**