8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component

Reviewed-by: dfuchs
This commit is contained in:
Alan Bateman 2014-12-01 13:44:57 +00:00
parent db7c757726
commit 14ee089287

View File

@ -325,7 +325,7 @@ public interface Path
*
* @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