Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-791 Search and fix minor errors
  3. RESTWS-801

Modifiers should be declared in the correct order

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.30.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      SonarQube:

      The Java Language Specification recommends listing modifiers in the following order:
      1. Annotations
      2. public
      3. protected
      4. private
      5. abstract
      6. static
      7. final
      8. transient
      9. volatile
      10. synchronized
      11. native
      12. strictfp
      Not following this convention has no technical impact, but will reduce the code's readability because most developers are used to the standard order.

      Problem:
      Wrong order of modifiers.

      Solution:
      Correct order of modifiers.

      Where the problem occurs:

      Support materials:

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              kdaud Kakumirizi Daud
              Reporter:
              sacull Lukasz Debicki
              Designated Committer:
              Kakumirizi Daud Kakumirizi Daud
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 6 hours
                  2h