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 9522c63 @since.
9522c63 is described below
commit 9522c639080efa9c0986deb7453728fd9a566c02
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 6 17:48:32 2020 -0400
@since.
---
src/main/java/org/apache/commons/io/file/PathUtils.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/io/file/PathUtils.java
b/src/main/java/org/apache/commons/io/file/PathUtils.java
index 11534f0..b835304 100644
--- a/src/main/java/org/apache/commons/io/file/PathUtils.java
+++ b/src/main/java/org/apache/commons/io/file/PathUtils.java
@@ -163,7 +163,7 @@ public final class PathUtils {
* @param fileVisitOptions See {@link
Files#walkFileTree(Path,Set,int,FileVisitor)}.
* @return The visitation path counters.
* @throws IOException if an I/O error is thrown by a visitor method.
- * @since 2.9
+ * @since 2.8
*/
public static PathCounters cleanDirectory(final Path directory, final
FileVisitOption... fileVisitOptions)
throws IOException {
@@ -287,6 +287,7 @@ public final class PathUtils {
* @param fileVisitOptions See {@link
Files#walkFileTree(Path,Set,int,FileVisitor)}.
* @return The visitor used to delete the given directory.
* @throws IOException if an I/O error is thrown by a visitor method.
+ * @since 2.8
*/
public static PathCounters deleteDirectory(final Path directory, final
FileVisitOption... fileVisitOptions) throws IOException {
return visitFileTree(DeletingPathVisitor.withLongCounters(),
directory).getPathCounters();