diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-22 15:31:03 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-22 15:31:05 +0200 |
commit | 021fc77537a86eb9d39bff6fa02e6a662b5eaa15 (patch) | |
tree | 5be928fcec17c57340150428bf68cdc9e89310b3 /sonar-batch | |
parent | 004f17f3eaca6be071997aca326f3031d5ccfacf (diff) | |
download | sonarqube-021fc77537a86eb9d39bff6fa02e6a662b5eaa15.tar.gz sonarqube-021fc77537a86eb9d39bff6fa02e6a662b5eaa15.zip |
Fix rule key in issue callback
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/issue/DefaultIssueCallback.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/issue/DefaultIssueCallback.java b/sonar-batch/src/main/java/org/sonar/batch/issue/DefaultIssueCallback.java index 05caaec7f3c..8f7342e05e5 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/issue/DefaultIssueCallback.java +++ b/sonar-batch/src/main/java/org/sonar/batch/issue/DefaultIssueCallback.java @@ -81,7 +81,7 @@ public class DefaultIssueCallback implements IssueCallback { newIssue.setMessage(issue.getMessage()); newIssue.setNew(issue.isNew()); newIssue.setResolution(issue.resolution()); - newIssue.setRuleKey(issue.getRuleKey().rule()); + newIssue.setRuleKey(issue.getRuleKey().toString()); newIssue.setRuleName(getRuleName(issue.getRuleKey())); newIssue.setSeverity(issue.severity()); newIssue.setStatus(issue.status()); |