Skip to content

Commit eb4d3c8

Browse files
authored
Update condition
1 parent 4cdb88c commit eb4d3c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,7 @@ public static File delete(final File file) throws IOException {
11801180
*
11811181
* @param directory directory to delete
11821182
* @throws IOException in case deletion is unsuccessful
1183+
* @throws IllegalArgumentException if {@code directory} is not a directory
11831184
*/
11841185
public static void deleteDirectory(final File directory) throws IOException {
11851186
Objects.requireNonNull(directory, "directory");

0 commit comments

Comments
 (0)