Skip to content

Commit 905d07c

Browse files
author
Gary Gregory
committed
Comments & Javadoc
1 parent d9fb091 commit 905d07c

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ public void testCopyDirectoryPreserveDates() throws Exception {
857857
// assertEquals(0, urls.length);
858858
// }
859859

860-
/* Test for IO-141 */
860+
/** Tests IO-141 */
861861
@Test
862862
public void testCopyDirectoryToChild() throws Exception {
863863
final File grandParentDir = new File(tempDirFile, "grandparent");
@@ -959,7 +959,7 @@ public void testCopyDirectoryToExistingDest() throws Exception {
959959
assertTrue(new File(destDir, "sub/A.txt").exists());
960960
}
961961

962-
/* Test for IO-141 */
962+
/** Test IO-141 */
963963
@Test
964964
public void testCopyDirectoryToGrandChild() throws Exception {
965965
final File grandParentDir = new File(tempDirFile, "grandparent");
@@ -975,7 +975,7 @@ public void testCopyDirectoryToGrandChild() throws Exception {
975975
assertTrue(expectedSize > 0, "Size > 0");
976976
}
977977

978-
/* Test for IO-217 FileUtils.copyDirectoryToDirectory makes infinite loops */
978+
/** Tests IO-217 FileUtils.copyDirectoryToDirectory makes infinite loops */
979979
@Test
980980
public void testCopyDirectoryToItself() throws Exception {
981981
final File dir = new File(tempDirFile, "itself");
@@ -1353,8 +1353,6 @@ public void testDeleteDirectoryWithNonDirectory() throws Exception {
13531353
assertThrows(IllegalArgumentException.class, () -> FileUtils.deleteDirectory(testFile1));
13541354
}
13551355

1356-
// copyToDirectory
1357-
13581356
@Test
13591357
public void testDeleteQuietlyDir() throws IOException {
13601358
final File testDirectory = new File(tempDirFile, "testDeleteQuietlyDir");
@@ -1411,8 +1409,8 @@ public void testDeleteQuietlyNonExistent() {
14111409
FileUtils.deleteQuietly(testFile);
14121410
}
14131411

1414-
/*
1415-
* Test the FileUtils implementation.
1412+
/**
1413+
* Tests the FileUtils implementation.
14161414
*/
14171415
@Test
14181416
public void testFileUtils() throws Exception {
@@ -1632,7 +1630,6 @@ public void testIsEmptyDirectory() throws IOException {
16321630
Assertions.assertFalse(FileUtils.isEmptyDirectory(PathUtilsIsEmptyTest.DIR_SIZE_1.toFile()));
16331631
}
16341632

1635-
// isFileNewer / isFileOlder
16361633
@Test
16371634
public void testIsFileNewerOlder() throws Exception {
16381635
final File reference = new File(tempDirFile, "FileUtils-reference.txt");

0 commit comments

Comments
 (0)