mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-16 21:35:25 +00:00
8148821: (fs) Path.getParent() javadoc error
Change "If this path has one or more elements" to "If this path has more than one element." Reviewed-by: rriggs, alanb
This commit is contained in:
parent
63f14a633b
commit
0ee02dbd71
@ -150,7 +150,7 @@ public interface Path
|
||||
* #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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user