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

No contextHashCode is set to annotations parsed from cpd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • dry-plugin
    • None

      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.

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

              Created:
              Updated:
              Resolved: