Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3553

S5778 and S5783: Improve primary and secondary issue message

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10
    • Component/s: Rules
    • Labels:
      None

      Description

      Many people got confused by the current messages of primary and secondary locations for S5778 and S5783, we should update it to better reflect what is expected:

      S5778

      • Primary message

      "Refactor the body of this try/catch to have only one invocation possibly throwing a runtime exception."

      • Secondary message

      "May throw a runtime exception"

      S5783

      • Primary message

      "Refactor the body of this try/catch to not have multiple invocations throwing the same checked exception."

      • Secondary message

      "Throws an exception"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: