diff options
author | Lukasz Jarocki <lukasz.jarocki@sonarsource.com> | 2021-10-11 14:57:05 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-10-13 20:03:34 +0000 |
commit | 72ebaa7e1dc6c931fa6d0aaa6addcb0563d65ba8 (patch) | |
tree | edf369daeaf01ed1d1c8f43ee17c98cf647e64bf /server/sonar-db-dao | |
parent | 6ee5c4bde3f1a83be80aac479b2c31a27106f439 (diff) | |
download | sonarqube-72ebaa7e1dc6c931fa6d0aaa6addcb0563d65ba8.tar.gz sonarqube-72ebaa7e1dc6c931fa6d0aaa6addcb0563d65ba8.zip |
SONAR-15479 updated saving issues from report in the database - added quickFixAvailable support
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r-- | server/sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java b/server/sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java index 704e41514a0..48798e55759 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java @@ -140,6 +140,7 @@ public final class IssueDto implements Serializable { .setIssueCloseDate(issue.closeDate()) .setIssueUpdateDate(issue.updateDate()) .setSelectedAt(issue.selectedAt()) + .setQuickFixAvailable(issue.isQuickFixAvailable()) // technical dates .setCreatedAt(now) @@ -186,6 +187,7 @@ public final class IssueDto implements Serializable { .setIssueCloseDate(issue.closeDate()) .setIssueUpdateDate(issue.updateDate()) .setSelectedAt(issue.selectedAt()) + .setQuickFixAvailable(issue.isQuickFixAvailable()) // technical date .setUpdatedAt(now); @@ -756,6 +758,7 @@ public final class IssueDto implements Serializable { issue.setSelectedAt(selectedAt); issue.setLocations(parseLocations()); issue.setIsFromExternalRuleEngine(isExternal); + issue.setQuickFixAvailable(quickFixAvailable != null ? quickFixAvailable : false); return issue; } } |