changeset 13677:63cca91a1f06

8148821: (fs) Path.getParent() javadoc error Summary: Change "If this path has one or more elements" to "If this path has more than one element." Reviewed-by: rriggs, alanb
author bpb
date Wed, 03 Feb 2016 13:34:19 -0800
parents e928f770a0d6
children 787b79d03e18
files src/java.base/share/classes/java/nio/file/Path.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/nio/file/Path.java	Wed Feb 03 12:52:27 2016 -0800
+++ b/src/java.base/share/classes/java/nio/file/Path.java	Wed Feb 03 13:34:19 2016 -0800
@@ -150,7 +150,7 @@
      * #normalize normalize} method, to eliminate redundant names, for cases where
      * <em>shell-like</em> navigation is required.
      *
-     * <p> If this path has one or more elements, and no root component, then
+     * <p> If this path has more than one element, and no root component, then
      * this method is equivalent to evaluating the expression:
      * <blockquote><pre>
      * subpath(0,&nbsp;getNameCount()-1);