Merge pull request #30554 from scordio

* pr/30554:
  Update copyright year of changed file
  Fix `FileSystemUtils::deleteRecursively` Javadoc

Closes gh-30554
This commit is contained in:
Stephane Nicoll 2023-05-30 09:15:43 +02:00
commit a716391aab
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2023 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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. * recursively delete any nested directories or files as well.
* @param root the root {@code File} to delete * @param root the root {@code Path} to delete
* @return {@code true} if the {@code File} existed and was deleted, * @return {@code true} if the {@code Path} existed and was deleted,
* or {@code false} if it did not exist * or {@code false} if it did not exist
* @throws IOException in the case of I/O errors * @throws IOException in the case of I/O errors
* @since 5.0 * @since 5.0