Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2657

Clean up redundant access modifiers from oozie interfaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.3.0
    • core

    Description

      By default java interface fields are public static final. Some of the Oozie interface still explicitly declare these redundant access modifier. I think we can clean it.

      Similarly, methods declared in the interface are public. This redundant declaration can be cleaned up.

      public interface RestConstants {
          public static final String VERSIONS = "versions";
          public static final String JOB = "job";
      ...
      }
      
      public interface JsonTags {
          public static final String OOZIE_SAFE_MODE = "safeMode"; //Applicable for V0 only
          public static final String OOZIE_SYSTEM_MODE = "systemMode";
      ...
      }
      

      Attachments

        1. OOZIE-2657-00.patch
          75 kB
          Abhishek Bafna
        2. OOZIE-2657-00-amend.patch
          11 kB
          Abhishek Bafna

        Activity

          People

            abhishekbafna Abhishek Bafna
            abhishekbafna Abhishek Bafna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: