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

S1214: add secondary locations to interface's constants

    Details

      Description

      S1214 reports an issue highlighting the interface name with the message:

      Move constants to a class or enum.

      From this behavior, it is not clear what is the problem, we should improve the situation by:

      • Adding secondary locations to the constants.
      • Change the message to better reflect the action: "Move constants defined in this interfaces to another class or enum"

        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: