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

Remove unused methods from FileUtil class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      Some methods in class org.apache.hadoop.fs.FileUtil are used neither in project code nor in tests, that is, are a dead code.
      This lowers the overall coverage of that class.
      The suggested patches remove the unused methods.

      Note: one of #copy(5) method is unused in 0.23 branch, while is used in branch-2, so the patches for these branches are different.

      Attachments

        1. HADOOP-8993-branch-2.patch
          4 kB
          Ivan A. Veselovsky
        2. HADOOP-8993-branch-0.23.patch
          5 kB
          Ivan A. Veselovsky

        Activity

          People

            iveselovsky Ivan A. Veselovsky
            iveselovsky Ivan A. Veselovsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: