Skip to content

Commit ad1dcad

Browse files
author
Gary Gregory
committed
Javadoc.
1 parent 792cf3b commit ad1dcad

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/main/java/org/apache/commons/io/file/PathUtils.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public static PathCounters cleanDirectory(final Path directory) throws IOExcepti
202202
* Cleans a directory including sub-directories without deleting directories.
203203
*
204204
* @param directory directory to clean.
205-
* @param deleteOptions How deletion is handled.
205+
* @param deleteOptions How to handle deletion.
206206
* @return The visitation path counters.
207207
* @throws IOException if an I/O error is thrown by a visitor method.
208208
* @since 2.8.0
@@ -357,7 +357,7 @@ public static PathCounters delete(final Path path) throws IOException {
357357
* </ul>
358358
*
359359
* @param path file or directory to delete, must not be {@code null}
360-
* @param deleteOptions How deletion is handled.
360+
* @param deleteOptions How to handle deletion.
361361
* @return The visitor used to delete the given directory.
362362
* @throws NullPointerException if the directory is {@code null}
363363
* @throws IOException if an I/O error is thrown by a visitor method or if an I/O error occurs.
@@ -381,8 +381,8 @@ public static PathCounters delete(final Path path, final DeleteOption... deleteO
381381
* </ul>
382382
*
383383
* @param path file or directory to delete, must not be {@code null}
384-
* @param linkOptions configures how symbolic links are handled.
385-
* @param deleteOptions How deletion is handled.
384+
* @param linkOptions How to handle symbolic links.
385+
* @param deleteOptions How to handle deletion.
386386
* @return The visitor used to delete the given directory.
387387
* @throws NullPointerException if the directory is {@code null}
388388
* @throws IOException if an I/O error is thrown by a visitor method or if an I/O error occurs.
@@ -410,7 +410,7 @@ public static PathCounters deleteDirectory(final Path directory) throws IOExcept
410410
* Deletes a directory including sub-directories.
411411
*
412412
* @param directory directory to delete.
413-
* @param deleteOptions How deletion is handled.
413+
* @param deleteOptions How to handle deletion.
414414
* @return The visitor used to delete the given directory.
415415
* @throws IOException if an I/O error is thrown by a visitor method.
416416
* @since 2.8.0
@@ -426,8 +426,8 @@ public static PathCounters deleteDirectory(final Path directory, final DeleteOpt
426426
* Deletes a directory including sub-directories.
427427
*
428428
* @param directory directory to delete.
429-
* @param linkOptions configures how symbolic links are handled.
430-
* @param deleteOptions How deletion is handled.
429+
* @param linkOptions How to handle symbolic links.
430+
* @param deleteOptions How to handle deletion.
431431
* @return The visitor used to delete the given directory.
432432
* @throws IOException if an I/O error is thrown by a visitor method.
433433
* @since 2.9.0
@@ -454,7 +454,7 @@ public static PathCounters deleteFile(final Path file) throws IOException {
454454
* Deletes the given file.
455455
*
456456
* @param file The file to delete.
457-
* @param deleteOptions How deletion is handled.
457+
* @param deleteOptions How to handle deletion.
458458
* @return A visitor with path counts set to 1 file, 0 directories, and the size of the deleted file.
459459
* @throws IOException if an I/O error occurs.
460460
* @throws NoSuchFileException if the file is a directory.
@@ -469,8 +469,8 @@ public static PathCounters deleteFile(final Path file, final DeleteOption... del
469469
* Deletes the given file.
470470
*
471471
* @param file The file to delete.
472-
* @param linkOptions configures how symbolic links are handled.
473-
* @param deleteOptions How deletion is handled.
472+
* @param linkOptions How to handle symbolic links.
473+
* @param deleteOptions How to handle deletion.
474474
* @return A visitor with path counts set to 1 file, 0 directories, and the size of the deleted file.
475475
* @throws IOException if an I/O error occurs.
476476
* @throws NoSuchFileException if the file is a directory.

0 commit comments

Comments
 (0)