Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8712

Remove "public" and "abstract" modifiers in FsVolumeSpi and FsDatasetSpi

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      In Java Language Specification 9.4:

      It is permitted, but discouraged as a matter of style, to redundantly specify the public and/or abstract modifier for a method declared in an interface.

      FsDatasetSpi and FsVolumeSpi mark methods as public, which cause many warnings in IDEs and checkstyle.

      Attachments

        1. HDFS-8712.000.patch
          23 kB
          Lei (Eddy) Xu
        2. HDFS-8712.001.patch
          24 kB
          Lei (Eddy) Xu

        Activity

          People

            eddyxu Lei (Eddy) Xu
            eddyxu Lei (Eddy) Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: