Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8976

Remove redundant modifiers in interface "ApplicationConstants"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There're many redundant modifiers in ApplicationContants.java. For instance, "public static final" is redundant due to the String in an interface is implicitly public static final.

      public static final String CLASS_PATH_SEPARATOR = "<CPS>"

      And the redundant public modifier for enums defination in interface and redundant private modifier for enum constructor.

        Attachments

        1. YARN-8976-trunk.001.patch
          3 kB
          Zhankun Tang

          Activity

            People

            • Assignee:
              tangzhankun Zhankun Tang
              Reporter:
              tangzhankun Zhankun Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: