Skip to content

Commit d9de36b

Browse files
committed
Merge branch 'gh-30555' into 5.3.x
Closes gh-30555
2 parents 540d0d9 + 4e696db commit d9de36b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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)