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

(fs) Typo in java.nio.file.Path class description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b38
    • generic
    • generic
    • Verified

      Hello.
      I think that in the javadoc for the class Path in /jdk/src/share/classes/java/nio/file/Path.java there is a typo in the last line of the third paragraph. Instead of "[...] the {@link #startsWith startsWith} and {@link #endsWith endWith} methods." it should read "[...] the {@link #startsWith startsWith} and {@link #endsWith endsWith} methods.". Notice the change of "{@link #endsWith endWith}" to "{@link #endsWith endsWith}".
      Cheers.
      Thaller Alexander

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: