Skip to content

Commit

Permalink
Format tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jun 21, 2023
1 parent 92f997c commit ab341b4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static <T extends BloomFilter> T populateFromHashersFrom1AndFrom11(T filt
* @return {@code filter} for chaining
*/
public static <T extends BloomFilter> T populateEntireFilter(T filter) {
return populateRange( filter, 0, filter.getShape().getNumberOfBits()-1);
return populateRange(filter, 0, filter.getShape().getNumberOfBits() - 1);
}

/**
Expand All @@ -78,8 +78,8 @@ public static <T extends BloomFilter> T populateEntireFilter(T filter) {
* @return {@code filter} for chaining
*/
public static <T extends BloomFilter> 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;
}
Expand Down

0 comments on commit ab341b4

Please sign in to comment.