提交 a7fd2002 编写于 作者: A alanb

8025983: Typo in Javadoc of Files.isRegularFile()

Reviewed-by: mchung, chegar
上级 e069207a
...@@ -2128,7 +2128,7 @@ public final class Files { ...@@ -2128,7 +2128,7 @@ public final class Files {
/** /**
* Tests whether a file is a symbolic link. * Tests whether a file is a symbolic link.
* *
* <p> Where is it required to distinguish an I/O exception from the case * <p> Where it is required to distinguish an I/O exception from the case
* that the file is not a symbolic link then the file attributes can be * that the file is not a symbolic link then the file attributes can be
* read with the {@link #readAttributes(Path,Class,LinkOption[]) * read with the {@link #readAttributes(Path,Class,LinkOption[])
* readAttributes} method and the file type tested with the {@link * readAttributes} method and the file type tested with the {@link
...@@ -2164,7 +2164,7 @@ public final class Files { ...@@ -2164,7 +2164,7 @@ public final class Files {
* of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
* NOFOLLOW_LINKS} is present then symbolic links are not followed. * NOFOLLOW_LINKS} is present then symbolic links are not followed.
* *
* <p> Where is it required to distinguish an I/O exception from the case * <p> Where it is required to distinguish an I/O exception from the case
* that the file is not a directory then the file attributes can be * that the file is not a directory then the file attributes can be
* read with the {@link #readAttributes(Path,Class,LinkOption[]) * read with the {@link #readAttributes(Path,Class,LinkOption[])
* readAttributes} method and the file type tested with the {@link * readAttributes} method and the file type tested with the {@link
...@@ -2201,7 +2201,7 @@ public final class Files { ...@@ -2201,7 +2201,7 @@ public final class Files {
* of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS
* NOFOLLOW_LINKS} is present then symbolic links are not followed. * NOFOLLOW_LINKS} is present then symbolic links are not followed.
* *
* <p> Where is it required to distinguish an I/O exception from the case * <p> Where it is required to distinguish an I/O exception from the case
* that the file is not a regular file then the file attributes can be * that the file is not a regular file then the file attributes can be
* read with the {@link #readAttributes(Path,Class,LinkOption[]) * read with the {@link #readAttributes(Path,Class,LinkOption[])
* readAttributes} method and the file type tested with the {@link * readAttributes} method and the file type tested with the {@link
......
...@@ -315,7 +315,7 @@ public interface Path ...@@ -315,7 +315,7 @@ public interface Path
* and parent directory. In such file systems all occurrences of "{@code .}" * and parent directory. In such file systems all occurrences of "{@code .}"
* are considered redundant. If a "{@code ..}" is preceded by a * are considered redundant. If a "{@code ..}" is preceded by a
* non-"{@code ..}" name then both names are considered redundant (the * non-"{@code ..}" name then both names are considered redundant (the
* process to identify such names is repeated until is it no longer * process to identify such names is repeated until it is no longer
* applicable). * applicable).
* *
* <p> This method does not access the file system; the path may not locate * <p> This method does not access the file system; the path may not locate
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册