# HG changeset patch # User alanb # Date 1381142935 -3600 # Node ID 2e22d22c52ed12f0114add86e2eb2b688483fb0f # Parent cc85c862643551ccbf5ed861d4bd014b4eb36def 8025983: Typo in Javadoc of Files.isRegularFile() Reviewed-by: mchung, chegar diff -r cc85c8626435 -r 2e22d22c52ed jdk/src/share/classes/java/nio/file/Files.java --- a/jdk/src/share/classes/java/nio/file/Files.java Sat Oct 05 05:30:40 2013 -0700 +++ b/jdk/src/share/classes/java/nio/file/Files.java Mon Oct 07 11:48:55 2013 +0100 @@ -2128,7 +2128,7 @@ /** * Tests whether a file is a symbolic link. * - *

Where is it required to distinguish an I/O exception from the case + *

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 * read with the {@link #readAttributes(Path,Class,LinkOption[]) * readAttributes} method and the file type tested with the {@link @@ -2164,7 +2164,7 @@ * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS * NOFOLLOW_LINKS} is present then symbolic links are not followed. * - *

Where is it required to distinguish an I/O exception from the case + *

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 * read with the {@link #readAttributes(Path,Class,LinkOption[]) * readAttributes} method and the file type tested with the {@link @@ -2201,7 +2201,7 @@ * of the link is read. If the option {@link LinkOption#NOFOLLOW_LINKS * NOFOLLOW_LINKS} is present then symbolic links are not followed. * - *

Where is it required to distinguish an I/O exception from the case + *

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 * read with the {@link #readAttributes(Path,Class,LinkOption[]) * readAttributes} method and the file type tested with the {@link diff -r cc85c8626435 -r 2e22d22c52ed jdk/src/share/classes/java/nio/file/Path.java --- a/jdk/src/share/classes/java/nio/file/Path.java Sat Oct 05 05:30:40 2013 -0700 +++ b/jdk/src/share/classes/java/nio/file/Path.java Mon Oct 07 11:48:55 2013 +0100 @@ -315,7 +315,7 @@ * and parent directory. In such file systems all occurrences of "{@code .}" * are considered redundant. If a "{@code ..}" is preceded by a * 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). * *

This method does not access the file system; the path may not locate