Skip to content

Commit 75b2d86

Browse files
author
Gary Gregory
committed
Simpler lambdas.
1 parent 9ab0809 commit 75b2d86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public class AccumulatorPathVisitorTest {
4646
static Stream<Arguments> testParameters() {
4747
// @formatter:off
4848
return Stream.of(
49-
Arguments.of((Supplier<AccumulatorPathVisitor>) () -> AccumulatorPathVisitor.withLongCounters()),
50-
Arguments.of((Supplier<AccumulatorPathVisitor>) () -> AccumulatorPathVisitor.withBigIntegerCounters()));
49+
Arguments.of((Supplier<AccumulatorPathVisitor>) AccumulatorPathVisitor::withLongCounters),
50+
Arguments.of((Supplier<AccumulatorPathVisitor>) AccumulatorPathVisitor::withBigIntegerCounters));
5151
// @formatter:on
5252
}
5353

0 commit comments

Comments
 (0)