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
--- a/jdk/src/java.base/share/classes/java/nio/file/Path.java Wed Feb 03 12:52:27 2016 -0800
+++ b/jdk/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, getNameCount()-1);