Skip to content

Commit 0adad10

Browse files
scordiosnicoll
authored andcommitted
Fix FileSystemUtils::deleteRecursively Javadoc
See gh-30554
1 parent 540d0d9 commit 0adad10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-core/src/main/java/org/springframework/util/FileSystemUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ public static boolean deleteRecursively(@Nullable File root) {
6868
}
6969

7070
/**
71-
* Delete the supplied {@link File} — for directories,
71+
* Delete the supplied {@link Path} — for directories,
7272
* recursively delete any nested directories or files as well.
73-
* @param root the root {@code File} to delete
74-
* @return {@code true} if the {@code File} existed and was deleted,
73+
* @param root the root {@code Path} to delete
74+
* @return {@code true} if the {@code Path} existed and was deleted,
7575
* or {@code false} if it did not exist
7676
* @throws IOException in the case of I/O errors
7777
* @since 5.0

0 commit comments

Comments
 (0)