We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FileSystemUtils::deleteRecursively
1 parent 540d0d9 commit 0adad10Copy full SHA for 0adad10
spring-core/src/main/java/org/springframework/util/FileSystemUtils.java
@@ -68,10 +68,10 @@ public static boolean deleteRecursively(@Nullable File root) {
68
}
69
70
/**
71
- * Delete the supplied {@link File} — for directories,
+ * Delete the supplied {@link Path} — for directories,
72
* 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,
+ * @param root the root {@code Path} to delete
+ * @return {@code true} if the {@code Path} existed and was deleted,
75
* or {@code false} if it did not exist
76
* @throws IOException in the case of I/O errors
77
* @since 5.0
0 commit comments