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

commit 9f1ab2afaabd3e808e462d97160af355ed64f48a
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Apr 19 09:38:10 2025 -0400

    Remove extra space
---
 .../org/apache/commons/collections4/bloomfilter/IndexFilter.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java 
b/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java
index 2416a5b77..b67a2aa23 100644
--- a/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java
+++ b/src/main/java/org/apache/commons/collections4/bloomfilter/IndexFilter.java
@@ -110,8 +110,7 @@ public final class IndexFilter {
     private IndexFilter(final Shape shape, final IntPredicate consumer) {
         this.size = shape.getNumberOfBits();
         this.consumer = consumer;
-        if (BitMaps.numberOfBitMaps(shape) * Long.BYTES < (long) 
shape.getNumberOfHashFunctions()
-                * Integer.BYTES) {
+        if (BitMaps.numberOfBitMaps(shape) * Long.BYTES < (long) 
shape.getNumberOfHashFunctions() * Integer.BYTES) {
             this.tracker = new BitMapTracker(shape);
         } else {
             this.tracker = new ArrayTracker(shape);
@@ -134,7 +133,7 @@ public final class IndexFilter {
             throw new IndexOutOfBoundsException(String.format("number too 
large %d >= %d", number, size));
         }
         if (tracker.test(number)) {
-            return  consumer.test(number);
+            return consumer.test(number);
         }
         return true;
     }

Reply via email to