8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component
authoralanb
Mon, 01 Dec 2014 13:44:57 +0000
changeset 27777 54a6546547d0
parent 27776 b2ddbbc58706
child 27778 f3e0156f99d7
8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component Reviewed-by: dfuchs
jdk/src/java.base/share/classes/java/nio/file/Path.java
--- a/jdk/src/java.base/share/classes/java/nio/file/Path.java	Sat Nov 29 11:14:20 2014 -0500
+++ b/jdk/src/java.base/share/classes/java/nio/file/Path.java	Mon Dec 01 13:44:57 2014 +0000
@@ -325,7 +325,7 @@
      *
      * @return  the resulting path or this path if it does not contain
      *          redundant name elements; an empty path is returned if this path
-     *          does have a root component and all name elements are redundant
+     *          does not have a root component and all name elements are redundant
      *
      * @see #getParent
      * @see #toRealPath