aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-02-10 15:24:32 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-02-10 15:24:32 +0100
commitdb911e46da06f2339afa889acb3c8f1e7bbe5ae9 (patch)
tree787470b6088b9599ca55072231a3d647ddee7a6c
parentc6def4b5c751c68e2bc8334c626ed01844e44230 (diff)
downloadsonarqube-db911e46da06f2339afa889acb3c8f1e7bbe5ae9.tar.gz
sonarqube-db911e46da06f2339afa889acb3c8f1e7bbe5ae9.zip
issue - update mapper accepting nullable value
-rw-r--r--sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java2
1 files changed, 1 insertions, 1 deletions
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 183ddd71aae..9b726f4b4e3 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
@@ -677,7 +677,7 @@ public final class IssueDto implements Serializable {
issue.setActionPlanKey(actionPlanKey);
issue.setAuthorLogin(authorLogin);
issue.setNew(false);
- issue.setCreationDate(new Date(issueCreationDate));
+ issue.setCreationDate(longToDate(issueCreationDate));
issue.setCloseDate(longToDate(issueCloseDate));
issue.setUpdateDate(longToDate(issueUpdateDate));
issue.setSelectedAt(selectedAt);