mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-12 21:15:45 +00:00
Use method reference
This commit is contained in:
parent
d5b38edf52
commit
2b3fae5aaa
@ -103,7 +103,7 @@ public class DefaultBloomFilterTest extends AbstractBloomFilterTest<DefaultBloom
|
||||
|
||||
@Override
|
||||
public boolean contains(final IndexProducer indexProducer) {
|
||||
return indexProducer.forEachIndex(i -> indices.contains(i));
|
||||
return indexProducer.forEachIndex(indices::contains);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user