From e347b7fd97c898781bd3eefe606155c12d22abe9 Mon Sep 17 00:00:00 2001 From: "antoine.vinot" Date: Fri, 1 Dec 2023 14:18:42 +0100 Subject: [PATCH] [SONAR-21081] - Remove usage of Uuid.createFast from production code --- .../sonar-db-dao/src/main/java/org/sonar/db/issue/IssueDto.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1343d3a68fe..8f2ef3e18c5 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 @@ -169,7 +169,7 @@ public final class IssueDto implements Serializable { @NotNull private static Set mapToImpactDto(Map impacts) { return impacts.entrySet().stream().map(e -> new ImpactDto() - .setUuid(Uuids.createFast()) + .setUuid(Uuids.create()) .setSoftwareQuality(e.getKey()) .setSeverity(e.getValue())) .collect(Collectors.toSet()); -- 2.39.5