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

Modifier 'static' is redundant for inner enums

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Java enumeration type is a static constant, implicitly modified with static final,Modifier 'static' is redundant for inner enums less.So I suggest deleting the 'static' modifier.

        Attachments

        1. HDFS-11901.001.patch
          17 kB
          ZhangBing Lin
        2. HDFS-11901.002.patch
          17 kB
          ZhangBing Lin

          Issue Links

            Activity

              People

              • Assignee:
                linzhangbing ZhangBing Lin
                Reporter:
                linzhangbing ZhangBing Lin
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: