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

java/nio/file/Path.java javadoc typo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 18
    • None
    • core-libs
    • None
    • b08

      In the javadoc for Path::endsWith:

      Note that trailing separators are not taken into account, and so invoking this method on the Path"foo/bar" with the String "bar/" returns true.


      Notice the above is missing a space between "Path" and "foo/bar"

            jpai Jaikiran Pai
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: