From fbe69cf2231d65ad992bd00eaf209eb6fd43b8e5 Mon Sep 17 00:00:00 2001 From: Claude Warren Date: Wed, 21 Jun 2023 10:30:11 +0100 Subject: [PATCH] fixed formatting issues --- .../commons/collections4/bloomfilter/TestingHashers.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/bloomfilter/TestingHashers.java b/src/test/java/org/apache/commons/collections4/bloomfilter/TestingHashers.java index 2cc3b20794..87946a8297 100644 --- a/src/test/java/org/apache/commons/collections4/bloomfilter/TestingHashers.java +++ b/src/test/java/org/apache/commons/collections4/bloomfilter/TestingHashers.java @@ -68,7 +68,7 @@ public static T populateFromHashersFrom1AndFrom11(T filt public static T populateEntireFilter(T filter) { return populateRange( filter, 0, filter.getShape().getNumberOfBits()-1); } - + /** * Enables all bits in a range (inclusive). * @param the Bloom filter type. @@ -78,7 +78,8 @@ public static T populateEntireFilter(T filter) { * @return {@code filter} for chaining */ public static T populateRange(T filter, int start, int end) { - filter.merge( (IndexProducer) p -> {for (int i=start;i<=end;i++) { + filter.merge( (IndexProducer) p -> { + for (int i=start; i<=end; i++) { if (!p.test(i)) { return false; }