Skip to content
Permalink
Browse files
8274195: Doc cleanup in java.nio.file
Reviewed-by: alanb, lancea, bpb
  • Loading branch information
pavelrappo committed Sep 23, 2021
1 parent 1fdc656 commit 5ffbe7555771c67e28b5361d2a569f3dd858ff36
Showing 2 changed files with 4 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -65,7 +65,7 @@
* using the {@code Iterator}, behaves as if the end of stream has been reached.
* Due to read-ahead, the {@code Iterator} may return one or more elements
* after the directory stream has been closed. Once these buffered elements
* have been read, then subsequent calls to the {@code hasNext} method returns
* have been read, then subsequent calls to the {@code hasNext} method return
* {@code false}, and subsequent calls to the {@code next} method will throw
* {@code NoSuchElementException}.
*
@@ -1203,8 +1203,8 @@ public static boolean deleteIfExists(Path path) throws IOException {
* which case the method completes without copying the file. File attributes
* are not required to be copied to the target file. If symbolic links are
* supported, and the file is a symbolic link, then the final target of the
* link is copied. If the file is a directory then it creates an empty
* directory in the target location (entries in the directory are not
* link is copied. If the file is a directory then an empty directory is
* created in the target location (entries in the directory are not
* copied). This method can be used with the {@link #walkFileTree
* walkFileTree} method to copy a directory and all entries in the directory,
* or an entire <i>file-tree</i> where required.

1 comment on commit 5ffbe75

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 5ffbe75 Sep 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.