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

Brian Burkhalter brian.burkhalter at oracle.com
Thu Mar 15 15:37:28 UTC 2018


On Mar 15, 2018, at 4:23 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

>> An updated version with the change s/Path.get/Path.of/ and most of the Paths.get() javadoc excised is at
>> 
>> http://cr.openjdk.java.net/~bpb/8194746/webrev.02/<http://cr.openjdk.java.net/%7Ebpb/8194746/webrev.02/>
> Given that the factory method is renamed then maybe we should change the first sentence to "Returns a Path by converting a ...".

I assume you mean on Path.of, for example (ignoring formatting):

     * Returns a {@code Path} by converting
     * a path string, or a sequence of strings that when joined form
     * a path string.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180315/652b4d60/attachment.html>


More information about the nio-dev mailing list