Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5465

Prevent warning log on some CodeColorizerFormat components

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5
    • Component/s: Plugin API
    • Labels:
      None

      Description

      A warning is logged when several instances of the same implementation class of CodeColorizerFormat are defined by plugins :

      WARN  [o.s.a.p.ComponentKeys]  Bad component key: com.sonar.cpp.plugin.X@181a3. Please implement toString() method on class com.sonar.cpp.plugin.X
      

      CodeColorizerFormat inherited classes had to override the method toString(), but that can be done directly in CodeColorizerFormat.

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: