From fe1c0aef1520eaed992cbd068007a39023cb5d78 Mon Sep 17 00:00:00 2001 From: bpb Date: Fri, 3 Nov 2017 10:18:28 -0700 Subject: [PATCH] 8190502: (fs) Typo in java.nio.file.Files Summary: s/subsequence/subsequent/g Reviewed-by: alanb --- src/java.base/share/classes/java/nio/file/Files.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.base/share/classes/java/nio/file/Files.java b/src/java.base/share/classes/java/nio/file/Files.java index 5c0e371252..c7e0dcf993 100644 --- a/src/java.base/share/classes/java/nio/file/Files.java +++ b/src/java.base/share/classes/java/nio/file/Files.java @@ -2401,7 +2401,7 @@ public final class Files { * *

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 @@ public final class Files { * 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 -- GitLab