Skip to content

Commit

Permalink
issues - simplify BatchIssueDto
Browse files Browse the repository at this point in the history
  • Loading branch information
teryk committed Feb 11, 2015
1 parent faa6962 commit 4d8fbfb
Showing 1 changed file with 3 additions and 12 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -147,20 +147,11 @@ public BatchIssueDto setSeverity(String severity) {
}

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;
}
}

0 comments on commit 4d8fbfb

Please sign in to comment.