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

java/nio/file/Path.java javadoc typo

    XMLWordPrintable

Details

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

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: