diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-09 07:30:32 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-09 07:30:32 +0200 |
commit | a5f41ef44e0647d1924b528ba75f57393e3c8b88 (patch) | |
tree | f70a8def466b478c2608e6ebaf8be9a95dce568b /sonar-core | |
parent | 98d7550f629c192416f34a416a974f0deac76b90 (diff) | |
download | sonarqube-a5f41ef44e0647d1924b528ba75f57393e3c8b88.tar.gz sonarqube-a5f41ef44e0647d1924b528ba75f57393e3c8b88.zip |
Fix issue tracking when comparing only hash of line
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/issue/tracking/Tracker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/tracking/Tracker.java b/sonar-core/src/main/java/org/sonar/core/issue/tracking/Tracker.java index 4ec4f84220b..66d103134c6 100644 --- a/sonar-core/src/main/java/org/sonar/core/issue/tracking/Tracker.java +++ b/sonar-core/src/main/java/org/sonar/core/issue/tracking/Tracker.java @@ -261,7 +261,7 @@ public class Tracker<RAW extends Trackable, BASE extends Trackable> { if (this == o) { return true; } - LineAndLineHashKey that = (LineAndLineHashKey) o; + LineHashKey that = (LineHashKey) o; // start with most discriminant field return lineHash.equals(that.lineHash) && ruleKey.equals(that.ruleKey); |