Browse Source

Fix `FileSystemUtils::deleteRecursively` Javadoc

See gh-30554
pull/30619/head
Stefano Cordio 3 years ago committed by Stephane Nicoll
parent
commit
c6b2d2e1d9
  1. 6
      spring-core/src/main/java/org/springframework/util/FileSystemUtils.java

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

@ -68,10 +68,10 @@ public abstract class FileSystemUtils { @@ -68,10 +68,10 @@ public abstract class FileSystemUtils {
}
/**
* Delete the supplied {@link File} — for directories,
* Delete the supplied {@link Path} — for directories,
* recursively delete any nested directories or files as well.
* @param root the root {@code File} to delete
* @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,
* or {@code false} if it did not exist
* @throws IOException in the case of I/O errors
* @since 5.0

Loading…
Cancel
Save