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 6bb30b07 Convert the TempDir from a File to a Path 6bb30b07 is described below commit 6bb30b07e97876e832847bd4ec282cae19212e88 Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Sun Jun 19 11:13:31 2022 -0400 Convert the TempDir from a File to a Path --- .../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 fbbb86f1..b03aaaae 100644 --- a/src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java +++ b/src/test/java/org/apache/commons/io/file/AccumulatorPathVisitorTest.java @@ -51,7 +51,7 @@ public class AccumulatorPathVisitorTest { } @TempDir - Path tempDirFile; + Path tempDirPath; /** * Tests an empty folder. @@ -61,7 +61,7 @@ public class AccumulatorPathVisitorTest { public void testEmptyFolder(final Supplier<AccumulatorPathVisitor> supplier) throws IOException { final AccumulatorPathVisitor accPathVisitor = supplier.get(); final PathVisitorFileFilter countingFileFilter = new PathVisitorFileFilter(accPathVisitor); - Files.walkFileTree(tempDirFile, new AndFileFilter(countingFileFilter, DirectoryFileFilter.INSTANCE, EmptyFileFilter.EMPTY)); + Files.walkFileTree(tempDirPath, new AndFileFilter(countingFileFilter, DirectoryFileFilter.INSTANCE, EmptyFileFilter.EMPTY)); assertCounts(1, 0, 0, accPathVisitor.getPathCounters()); assertEquals(1, accPathVisitor.getDirList().size()); assertTrue(accPathVisitor.getFileList().isEmpty());