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

Remove redundant modifiers in interface "ApplicationConstants"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: