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
commit f3bf58cf0621608193a75db3502afba9b0f2cc4e Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Thu Jul 30 11:13:49 2020 -0400 Better method name. --- .../commons/io/FileUtilsCopyDirectoryToDirectoryTestCase.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/apache/commons/io/FileUtilsCopyDirectoryToDirectoryTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsCopyDirectoryToDirectoryTestCase.java index 7811963..3f94b39 100644 --- a/src/test/java/org/apache/commons/io/FileUtilsCopyDirectoryToDirectoryTestCase.java +++ b/src/test/java/org/apache/commons/io/FileUtilsCopyDirectoryToDirectoryTestCase.java @@ -55,7 +55,7 @@ public class FileUtilsCopyDirectoryToDirectoryTestCase { @TempDir public File temporaryFolder; - private void assertAcl(final Path sourcePath, final Path destPath) throws IOException { + private void assertAclEntryList(final Path sourcePath, final Path destPath) throws IOException { assertEquals(PathUtils.getAclEntryList(sourcePath), PathUtils.getAclEntryList(destPath)); } @@ -102,16 +102,16 @@ public class FileUtilsCopyDirectoryToDirectoryTestCase { final Path destPath = Paths.get(temporaryFolder.getAbsolutePath(), "SomeFile.bin"); // Test copy attributes without replace FIRST. FileUtils.copyFile(sourcePath.toFile(), destPath.toFile(), true, StandardCopyOption.COPY_ATTRIBUTES); - assertAcl(sourcePath, destPath); + assertAclEntryList(sourcePath, destPath); // FileUtils.copyFile(sourcePath.toFile(), destPath.toFile()); - assertAcl(sourcePath, destPath); + assertAclEntryList(sourcePath, destPath); // FileUtils.copyFile(sourcePath.toFile(), destPath.toFile(), true, StandardCopyOption.REPLACE_EXISTING); - assertAcl(sourcePath, destPath); + assertAclEntryList(sourcePath, destPath); // FileUtils.copyFile(sourcePath.toFile(), destPath.toFile(), true, StandardCopyOption.REPLACE_EXISTING, StandardCopyOption.COPY_ATTRIBUTES); - assertAcl(sourcePath, destPath); + assertAclEntryList(sourcePath, destPath); } }