8190502: (fs) Typo in java.nio.file.Files
Summary: s/subsequence/subsequent/g
Reviewed-by: alanb
--- 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