diff options
author | Lukasz Jarocki <lukasz.jarocki@sonarsource.com> | 2022-10-31 12:25:54 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-01 20:03:09 +0000 |
commit | b0be5da0c49b74538dbce98014298a104d4ac5b0 (patch) | |
tree | 6a9b4734fefe01a34ef2b45336276be4fafa1483 /sonar-scanner-engine/src/main/java | |
parent | b309ce1704e490af7daef2a0d0ab1bbba8c930b8 (diff) | |
download | sonarqube-b0be5da0c49b74538dbce98014298a104d4ac5b0.tar.gz sonarqube-b0be5da0c49b74538dbce98014298a104d4ac5b0.zip |
SONAR-17524 changing default branch name for projects
Diffstat (limited to 'sonar-scanner-engine/src/main/java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/ProjectBranches.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/ProjectBranches.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/ProjectBranches.java index d9ed8063cc8..09236b076a4 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/ProjectBranches.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/ProjectBranches.java @@ -32,7 +32,7 @@ import javax.annotation.concurrent.Immutable; @Immutable public class ProjectBranches { // matches server-side default when creating a project. See BranchDto#DEFAULT_MAIN_BRANCH_NAME - private static final String DEFAULT_MAIN_BRANCH_NAME = "master"; + private static final String DEFAULT_MAIN_BRANCH_NAME = "main"; private final Map<String, BranchInfo> branches; private final String defaultBranchName; |