mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8287889: (fs) Files.copy description of REPLACE_EXISTING is hard to read
Reviewed-by: alanb
This commit is contained in:
parent
8cd87e731b
commit
5a8e1e43a4
1 changed files with 6 additions and 8 deletions
|
@ -1219,10 +1219,9 @@ public final class Files {
|
||||||
* <tbody>
|
* <tbody>
|
||||||
* <tr>
|
* <tr>
|
||||||
* <th scope="row"> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </th>
|
* <th scope="row"> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </th>
|
||||||
* <td> If the target file exists, then the target file is replaced if it
|
* <td> Replace an existing file. A non-empty directory cannot be
|
||||||
* is not a non-empty directory. If the target file exists and is a
|
* replaced. If the target file exists and is a symbolic link, then the
|
||||||
* symbolic link, then the symbolic link itself, not the target of
|
* symbolic link itself, not the target of the link, is replaced. </td>
|
||||||
* the link, is replaced. </td>
|
|
||||||
* </tr>
|
* </tr>
|
||||||
* <tr>
|
* <tr>
|
||||||
* <th scope="row"> {@link StandardCopyOption#COPY_ATTRIBUTES COPY_ATTRIBUTES} </th>
|
* <th scope="row"> {@link StandardCopyOption#COPY_ATTRIBUTES COPY_ATTRIBUTES} </th>
|
||||||
|
@ -1342,10 +1341,9 @@ public final class Files {
|
||||||
* <tbody>
|
* <tbody>
|
||||||
* <tr>
|
* <tr>
|
||||||
* <th scope="row"> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </th>
|
* <th scope="row"> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </th>
|
||||||
* <td> If the target file exists, then the target file is replaced if it
|
* <td> Replace an existing file. A non-empty directory cannot be
|
||||||
* is not a non-empty directory. If the target file exists and is a
|
* replaced. If the target file exists and is a symbolic link, then the
|
||||||
* symbolic link, then the symbolic link itself, not the target of
|
* symbolic link itself, not the target of the link, is replaced. </td>
|
||||||
* the link, is replaced. </td>
|
|
||||||
* </tr>
|
* </tr>
|
||||||
* <tr>
|
* <tr>
|
||||||
* <th scope="row"> {@link StandardCopyOption#ATOMIC_MOVE ATOMIC_MOVE} </th>
|
* <th scope="row"> {@link StandardCopyOption#ATOMIC_MOVE ATOMIC_MOVE} </th>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue