SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-1600

Capability to make difference between message and name of a rule

    Details

    • Number of attachments :
      0

      Description

      in
      http://svn.codehaus.org/sonar-plugins/trunk/flex/src/main/resources/org/sonar/plugins/flex/flexpmd/rules.xml
      no difference is made between message and name.
      If we add that parameter, no field can be used to store both the name and message since only one can be stored in the sonar org.sonar.api.rules.Rule class (message is stored in name field and it does not makes any sense to have a rule named "This private attribute (

      {0}

      ) does not seem to be used "

        Issue Links

          Activity

          Hide
          Freddy Mallet added a comment -

          Manually tested

          Show
          Freddy Mallet added a comment - Manually tested
          Hide
          Fabrice Bellingard added a comment -

          Messages are now correctly displayed, but they rely on a static properties file that is embedded in the plugin (because the rule repository definition of Sonar does not contain a field for messages).

          Show
          Fabrice Bellingard added a comment - Messages are now correctly displayed, but they rely on a static properties file that is embedded in the plugin (because the rule repository definition of Sonar does not contain a field for messages).

            People

            • Assignee:
              Fabrice Bellingard
              Reporter:
              Jean-Hervé Laveau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: