Skip to content

Commit 52e4444

Browse files
author
Gary Gregory
committed
Better lambdas.
1 parent f3f790a commit 52e4444

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

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

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

0 commit comments

Comments
 (0)