changeset 47496:66e2e3f62eb5

8190502: (fs) Typo in java.nio.file.Files Summary: s/subsequence/subsequent/g Reviewed-by: alanb
author bpb
date Fri, 03 Nov 2017 10:18:28 -0700
parents 6278140a2d55
children b1f360639517
files src/java.base/share/classes/java/nio/file/Files.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/nio/file/Files.java	Fri Nov 03 10:18:27 2017 -0700
+++ b/src/java.base/share/classes/java/nio/file/Files.java	Fri Nov 03 10:18:28 2017 -0700
@@ -2401,7 +2401,7 @@
      *
      * <p> Note that the result of this method is immediately outdated. If this
      * method indicates the file exists then there is no guarantee that a
-     * subsequence access will succeed. Care should be taken when using this
+     * subsequent access will succeed. Care should be taken when using this
      * method in security sensitive applications.
      *
      * @param   path
@@ -2458,7 +2458,7 @@
      * or not then both methods return {@code false}. As with the {@code exists}
      * method, the result of this method is immediately outdated. If this
      * method indicates the file does exist then there is no guarantee that a
-     * subsequence attempt to create the file will succeed. Care should be taken
+     * subsequent attempt to create the file will succeed. Care should be taken
      * when using this method in security sensitive applications.
      *
      * @param   path