Skip to content

Commit f3bf58c

Browse files
author
Gary Gregory
committed
Better method name.
1 parent df4979d commit f3bf58c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/test/java/org/apache/commons/io/FileUtilsCopyDirectoryToDirectoryTestCase.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private static void assertExceptionTypeAndMessage(final File srcDir, final File
5555
@TempDir
5656
public File temporaryFolder;
5757

58-
private void assertAcl(final Path sourcePath, final Path destPath) throws IOException {
58+
private void assertAclEntryList(final Path sourcePath, final Path destPath) throws IOException {
5959
assertEquals(PathUtils.getAclEntryList(sourcePath), PathUtils.getAclEntryList(destPath));
6060
}
6161

@@ -102,16 +102,16 @@ public void copyFileAndCheckAcl() throws IOException {
102102
final Path destPath = Paths.get(temporaryFolder.getAbsolutePath(), "SomeFile.bin");
103103
// Test copy attributes without replace FIRST.
104104
FileUtils.copyFile(sourcePath.toFile(), destPath.toFile(), true, StandardCopyOption.COPY_ATTRIBUTES);
105-
assertAcl(sourcePath, destPath);
105+
assertAclEntryList(sourcePath, destPath);
106106
//
107107
FileUtils.copyFile(sourcePath.toFile(), destPath.toFile());
108-
assertAcl(sourcePath, destPath);
108+
assertAclEntryList(sourcePath, destPath);
109109
//
110110
FileUtils.copyFile(sourcePath.toFile(), destPath.toFile(), true, StandardCopyOption.REPLACE_EXISTING);
111-
assertAcl(sourcePath, destPath);
111+
assertAclEntryList(sourcePath, destPath);
112112
//
113113
FileUtils.copyFile(sourcePath.toFile(), destPath.toFile(), true, StandardCopyOption.REPLACE_EXISTING,
114114
StandardCopyOption.COPY_ATTRIBUTES);
115-
assertAcl(sourcePath, destPath);
115+
assertAclEntryList(sourcePath, destPath);
116116
}
117117
}

0 commit comments

Comments
 (0)