From 51029a60745059ab1aa9cae504f67e0a3efd1b0d Mon Sep 17 00:00:00 2001 From: C4tWithShell Date: Sat, 11 Nov 2023 03:26:19 +0300 Subject: [PATCH] Remove setMainBranchProjectUuid --- .../sonarqube/plugin/server/CommunityBranchSupportDelegate.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/github/mc1arke/sonarqube/plugin/server/CommunityBranchSupportDelegate.java b/src/main/java/com/github/mc1arke/sonarqube/plugin/server/CommunityBranchSupportDelegate.java index 756b096..5360718 100644 --- a/src/main/java/com/github/mc1arke/sonarqube/plugin/server/CommunityBranchSupportDelegate.java +++ b/src/main/java/com/github/mc1arke/sonarqube/plugin/server/CommunityBranchSupportDelegate.java @@ -96,7 +96,6 @@ public ComponentDto createBranchComponent(DbSession dbSession, BranchSupport.Com .setUuid(branchUuid) .setBranchUuid(branchUuid) .setUuidPath(ComponentDto.UUID_PATH_OF_ROOT) - .setMainBranchProjectUuid(mainComponentDto.uuid()) .setCreatedAt(new Date(clock.millis())); dbClient.componentDao().insert(dbSession, componentDto, false);