changeset 27777:54a6546547d0

8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component Reviewed-by: dfuchs
author alanb
date Mon, 01 Dec 2014 13:44:57 +0000
parents b2ddbbc58706
children f3e0156f99d7
files jdk/src/java.base/share/classes/java/nio/file/Path.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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