diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-02-11 14:48:08 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-02-11 16:43:02 +0100 |
commit | 4d8fbfb4f1be2d2333d1cb051626a29c9442cc6e (patch) | |
tree | e8c9accfb8d9c9c5615341831b0531549fa45180 /sonar-core | |
parent | faa696264a959b883b189975f062189a60fe4de9 (diff) | |
download | sonarqube-4d8fbfb4f1be2d2333d1cb051626a29c9442cc6e.tar.gz sonarqube-4d8fbfb4f1be2d2333d1cb051626a29c9442cc6e.zip |
issues - simplify BatchIssueDto
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/issue/db/BatchIssueDto.java | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/db/BatchIssueDto.java b/sonar-core/src/main/java/org/sonar/core/issue/db/BatchIssueDto.java index bd8dd1760c7..c6c2e6012b9 100644 --- a/sonar-core/src/main/java/org/sonar/core/issue/db/BatchIssueDto.java +++ b/sonar-core/src/main/java/org/sonar/core/issue/db/BatchIssueDto.java @@ -36,7 +36,7 @@ public class BatchIssueDto { private String componentKey; private String ruleKey; private String ruleRepo; - private Long creationDate; + private Long creationTime; public String getAssigneeLogin() { return assigneeLogin; @@ -147,20 +147,11 @@ public class BatchIssueDto { } public Date getCreationDate() { - return new Date(creationDate); + return new Date(creationTime); } public BatchIssueDto setCreationDate(Date creationDate) { - this.creationDate = creationDate.getTime(); - return this; - } - - public Long getCreationTime() { - return creationDate; - } - - public BatchIssueDto setCreationTime(Long time) { - this.creationDate = time; + this.creationTime = creationDate.getTime(); return this; } } |