RFR 8194746: (fs) Add equivalents of Paths.get to Path interface

Alan Bateman Alan.Bateman at oracle.com
Thu Mar 15 15:54:19 UTC 2018



On 15/03/2018 15:44, Brian Burkhalter wrote:
>
> Would this be reasonable (in Paths class doc)?
>
>  * @apiNote
>  * As of JDK 11, it is recommended to obtain a {@code Path} via the
>  * {@code Path.of} methods instead of via the {@code get} methods 
> defined in
>  * this class as this class might be deprecated.
>
I think you can drop "As of JDK 11" (technically it would be Java SE 11 
of course).

I agree with Roger on "may" instead of "might".

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180315/4ef27766/attachment-0001.html>


More information about the nio-dev mailing list