[15] 8220816: Files.createDirectory should make it more obvious that it fails when the directory already exists
Alan Bateman
Alan.Bateman at oracle.com
Mon Jan 27 13:27:06 UTC 2020
On 24/01/2020 22:21, Brian Burkhalter wrote:
> Please review this minor change [1] to address [2]. If it looks worthwhile to address then a CSR will be filed.
If I read this correctly you've just changed the first line of the
javadoc to add "if the directory already exists". That probably should
say "file or directory" as it may be a non-directory file. I agree with
tweaking the description for when FileAlreadyExistsException is thrown
but if will require a similar change, for consistency reasons, to the
other methods that are specified to throw this exception.
-Alan
More information about the nio-dev
mailing list