Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: None
    • Labels:
      None

      Description

      Type

      Insertion of tokens

      Approach

      We just have to insert the static keyword in the modifiers, at the correct place (in the correct order according to RSPEC-1124).
      Note that adding the static modifier will trigger new issues from RSPEC-2209 (also quick-fixable: SONARJAVA-3942).

      Before

      private void foo() { /* ... */ }
      

      After

      private static void foo() { /* ... */ }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quentin.jaquier Quentin Jaquier
              Reporter:
              michael.gumowski Michael Gumowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: