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

Remove duplicate call of Path#normalizePath during initialization.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Tags:
      path

      Description

      Found during code reading on HADOOP-6490, there seems to be an unnecessary call of normalizePath(...) being made in the constructor Path(Path, Path). Since initialize(...) normalizes its received path string already, its unnecessary to do it to the path parameter in the constructor's call of the same.

        Attachments

          Activity

            People

            • Assignee:
              qwertymaniac Harsh J
              Reporter:
              qwertymaniac Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: