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

API: Unexpected behaviour of AbstractSourceImporter when some methods were overridden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.2
    • Component/s: Plugin API
    • Labels:
      None

      Description

      Method "analyse(Project, SensorContext)" contains initialization of private field "enabled", thus if this method was overridden, then impossible to use method "parseDirs". Proposed solution is to move initialization or check directly into method "parseDirs".

        Attachments

          Activity

            People

            Assignee:
            godin OLD - Evgeny Mandrikov
            Reporter:
            godin OLD - Evgeny Mandrikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: