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

Some convenient methods in the FileSystem API should be final.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • fs
    • None

    Description

      In FileSystem, some methods are overloaded with different parameter list. We should mark the convenient methods final.

      For example, the create(...) method has 10 different signatures. Subclasses of FileSystem should only override the one with the most number or parameters but not the others. We should mark all the other 9 create(...) final.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: