This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 75b2d86 Simpler lambdas. 75b2d86 is described below commit 75b2d86910cca76b0b77d2fb4e8874169f8af12c Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Sun Oct 18 12:15:16 2020 -0400 Simpler lambdas. --- .../java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java b/src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java index d715804..019fd6c 100644 --- a/src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java +++ b/src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java @@ -46,8 +46,8 @@ public class AccumulatorPathVisitorTest { static Stream<Arguments> testParameters() { // @formatter:off return Stream.of( - Arguments.of((Supplier<AccumulatorPathVisitor>) () -> AccumulatorPathVisitor.withLongCounters()), - Arguments.of((Supplier<AccumulatorPathVisitor>) () -> AccumulatorPathVisitor.withBigIntegerCounters())); + Arguments.of((Supplier<AccumulatorPathVisitor>) AccumulatorPathVisitor::withLongCounters), + Arguments.of((Supplier<AccumulatorPathVisitor>) AccumulatorPathVisitor::withBigIntegerCounters)); // @formatter:on }