Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902389

Refactoring: misc part 2

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: st4.0
    • Fix Version/s: st4.0
    • Component/s: tools
    • Labels:
      None

      Description

      For easier code reading the following refactoring can be done:
      - Modifier 'private' is redundant for enum constructors (remove)
      - Modifier 'public' is redundant for interface fields (remove)
      - Modifier 'static' is redundant for interface fields (remove)
      - Modifier 'final' is redundant for interface fields (remove)
      - Unnecessary semicolon (remove)
      - Merge sequential if's
      - Remove exception in throws if more general exception listed
      - Remove unused imports
      - Redundant boxing/unboxing
      -Unnecessary zero length array usage (replace with EMPTY_ARRAY, etc)

        Attachments

          Activity

            People

            Assignee:
            vrudomet Victor Rudometov
            Reporter:
            vrudomet Victor Rudometov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: