Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8174

Remove confusing comment in Path#isAbsolute()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.23.0
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • Reviewed

    Description

      The method is checking for absolute path correctly. When scheme and authority are present, the path is absolute. So the following comment needs to be removed.

        /**
         * There is some ambiguity here. An absolute path is a slash
         * relative name without a scheme or an authority.
         * So either this method was incorrectly named or its
         * implementation is incorrect. This method returns true
         * even if there is a scheme and authority.
         */
      

      Attachments

        1. HADOOP-8174.txt
          0.9 kB
          Suresh Srinivas
        2. HADOOP-8174.patch
          1 kB
          Harsh J

        Activity

          People

            sureshms Suresh Srinivas
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: