diff options
author | Hans Joachim Desserud <github@desserud.org> | 2013-11-02 19:26:35 +0100 |
---|---|---|
committer | Hans Joachim Desserud <github@desserud.org> | 2013-11-02 19:26:35 +0100 |
commit | 500eff0b5f242d9481329a9bde126a7e1c29ed6f (patch) | |
tree | 2556da8863a6faf698bf712d86cde8d6fd476126 /plugins | |
parent | 2eb5e77ee6ff9f74f70a294e19c3ad23411367d1 (diff) | |
download | sonarqube-500eff0b5f242d9481329a9bde126a7e1c29ed6f.tar.gz sonarqube-500eff0b5f242d9481329a9bde126a7e1c29ed6f.zip |
Fixes a couple of issues by using interfaces rather than a specific implementation
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java index a0aab1ba2e3..2c5dcac619c 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueTrackingResult.java @@ -28,13 +28,13 @@ import org.sonar.api.rule.RuleKey; import org.sonar.core.issue.db.IssueDto; import java.util.Collection; -import java.util.IdentityHashMap; +import java.util.Map; import java.util.Set; class IssueTrackingResult { private final Set<IssueDto> unmatched = Sets.newHashSet(); private final Multimap<RuleKey, IssueDto> unmatchedByRule = LinkedHashMultimap.create(); - private final IdentityHashMap<DefaultIssue, IssueDto> matched = Maps.newIdentityHashMap(); + private final Map<DefaultIssue, IssueDto> matched = Maps.newIdentityHashMap(); Collection<IssueDto> unmatched() { return unmatched; |