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

Unused Command.java fields NAME, DESCRIPTION and USAGE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • shell
    • None
    • Reviewed

    Description

      The static fields NAME, USAGE AND DESCRIPTION in Command.java are not used and cannot be overridden by subclasses since Java does not support static variable overriding. We can get rid of these three fields in the Command.java and only keep them as static fields in subclasses.

      Attachments

        1. HDFS-3834.patch
          4 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: