7068856: (fs) Typo in Files.isSameFile() javadoc
7099208: (fs) Files.newBufferedReader has typo in javadoc Reviewed-by: forax
This commit is contained in:
parent
1f16d123b1
commit
69a71c999c
@ -1431,7 +1431,7 @@ public final class Files {
|
||||
* <li>It is <i>transitive</i>: for three {@code Paths}
|
||||
* {@code f}, {@code g}, and {@code h}, if {@code isSameFile(f,g)} returns
|
||||
* {@code true} and {@code isSameFile(g,h)} returns {@code true}, then
|
||||
* {@code isSameFile(g,h)} will return return {@code true}.
|
||||
* {@code isSameFile(f,h)} will return return {@code true}.
|
||||
* </ul>
|
||||
*
|
||||
* @param path
|
||||
|
@ -72,7 +72,7 @@ import java.util.Iterator;
|
||||
* directory and is UTF-8 encoded.
|
||||
* <pre>
|
||||
* Path path = FileSystems.getDefault().getPath("logs", "access.log");
|
||||
* BufferReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
|
||||
* BufferedReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
|
||||
* </pre>
|
||||
*
|
||||
* <a name="interop"><h4>Interoperability</h4></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user