aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-28 14:08:36 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-28 14:08:44 +0200
commit0eddfffce1b680964cc0917cc0bdc5d505a7a167 (patch)
tree479dd529846ebd49699f559349cc2e77e3db74aa /sonar-core/src
parent4c203b53eefd8fdef5d114f1720fbfaf5b84fb1d (diff)
downloadsonarqube-0eddfffce1b680964cc0917cc0bdc5d505a7a167.tar.gz
sonarqube-0eddfffce1b680964cc0917cc0bdc5d505a7a167.zip
SONAR-4316 implement IssueFilter and support ViolationFilter
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java b/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java
index 56fb83bebe4..d573da495d6 100644
--- a/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java
+++ b/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java
@@ -241,7 +241,7 @@ public class DefaultIssue implements Issue {
@CheckForNull
- public String getChecksum() {
+ public String checksum() {
return checksum;
}
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java b/sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java
index 0d1390fd5cd..84d6677376e 100644
--- a/sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java
+++ b/sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java
@@ -343,7 +343,7 @@ public final class IssueDto {
.setResolution(issue.resolution())
.setStatus(issue.status())
.setSeverity(issue.severity())
- .setChecksum(issue.getChecksum())
+ .setChecksum(issue.checksum())
.setManualSeverity(issue.manualSeverity())
.setReporter(issue.reporter())
.setAssignee(issue.assignee())
@@ -371,7 +371,7 @@ public final class IssueDto {
.setResolution(issue.resolution())
.setStatus(issue.status())
.setSeverity(issue.severity())
- .setChecksum(issue.getChecksum())
+ .setChecksum(issue.checksum())
.setManualSeverity(issue.manualSeverity())
.setReporter(issue.reporter())
.setAssignee(issue.assignee())