aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-02-11 14:48:08 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-02-11 16:43:02 +0100
commit4d8fbfb4f1be2d2333d1cb051626a29c9442cc6e (patch)
treee8c9accfb8d9c9c5615341831b0531549fa45180 /sonar-core
parentfaa696264a959b883b189975f062189a60fe4de9 (diff)
downloadsonarqube-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.java15
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;
}
}