Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210741

Typo in Java API documentation of java.nio.file.Paths

XMLWordPrintable

    • b12
    • Not verified

      A DESCRIPTION OF THE PROBLEM :
      The Javadoc of the method get(URI uri) [1] has an unnecessary asterisk [2]:
      "This method simply invokes * Path.of(URI) with the given parameter."

      [1] https://download.java.net/java/early_access/jdk12/docs/api/java.base/java/nio/file/Paths.html#get(java.net.URI)
      [2] http://hg.openjdk.java.net/jdk/jdk/file/3aafd7015d87/src/java.base/share/classes/java/nio/file/Paths.java#l76



            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: