]> source.dussan.org Git - sonarqube.git/commitdiff
[SONAR-21081] - Remove usage of Uuid.createFast from production code
authorantoine.vinot <antoine.vinot@sonarsource.com>
Fri, 1 Dec 2023 13:18:42 +0000 (14:18 +0100)
committersonartech <sonartech@sonarsource.com>
Mon, 4 Dec 2023 20:03:21 +0000 (20:03 +0000)
server/sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java

index 1343d3a68fe344b05bffa967d727091672a079b8..8f2ef3e18c52a06275509ed142889032df44968a 100644 (file)
@@ -169,7 +169,7 @@ public final class IssueDto implements Serializable {
   @NotNull
   private static Set<ImpactDto> mapToImpactDto(Map<SoftwareQuality, Severity> impacts) {
     return impacts.entrySet().stream().map(e -> new ImpactDto()
-        .setUuid(Uuids.createFast())
+        .setUuid(Uuids.create())
         .setSoftwareQuality(e.getKey())
         .setSeverity(e.getValue()))
       .collect(Collectors.toSet());