]> source.dussan.org Git - sonarqube.git/commitdiff
issue - update mapper accepting nullable value
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 10 Feb 2015 14:24:32 +0000 (15:24 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 10 Feb 2015 14:24:32 +0000 (15:24 +0100)
sonar-core/src/main/java/org/sonar/core/issue/db/IssueDto.java

index 183ddd71aae42ea222deac7fd7a5ca1dd94c273c..9b726f4b4e3a90f9ee242fbf3a92f2224f626154 100644 (file)
@@ -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);