Typo in javadoc of Path's .normalize()?
Francis Galiegue
fgaliegue at gmail.com
Sat Nov 29 14:02:28 UTC 2014
Hello,
In the documentation of the returned value of .normalize(), it is said
that "[...]an empty path is returned if this path does have a root
component and all name elements are redundant".
s,does,does not,?
It would be logical; for instance, on Unix systems,
Paths.get("/.").normalize() returns "/", not "".
--
Francis Galiegue, fgaliegue at gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/parboiled1/grappa (redde
Caesaris: https://github.com/sirthias)
More information about the nio-dev
mailing list