Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56792

Change constructor in Issue (TreeString)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • analysis-model
    • None
    • 5.0.0 (analysis-model and warnings-ng)

      Issue has a constructor with String values for fileName, packageName, message, description. Another constructor is required (same number of parameters) that uses a TreeString for these arguments.

      In a second step, IssueBuilder should be refined to store the members fileName, packageName, message, description in a TreeString as well.

      Issue has a constructor with String values for fileName, packageName, message, description. The constructor has to be changed to required (same number of parameters) that uses a TreeString for these arguments.

      All normalization and transformation logic that is currently part of the constructor of Issue should be moved to IssueBuilder#build. The Issue constructor then needs to be changed as described above.

            nengelbrecht Nils Engelbrecht
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: