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

No contextHashCode is set to annotations parsed from cpd

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: dry-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      It looks like the CpdParser is missing a call to setContextHashCode. As a result, every annotation receives an autogenerated context hash, which is different on every run. This causes the delta between two identical cpd-files to be calculated incorrectly (all duplications are both fixed and new), as the differencer thinks the annotations from two consecutive parser runs are different due to a different context hash.

        Attachments

          Activity

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              aboks Arnout Boks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: