aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver
diff options
context:
space:
mode:
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>2022-10-31 12:25:54 +0100
committersonartech <sonartech@sonarsource.com>2022-11-01 20:03:09 +0000
commitb0be5da0c49b74538dbce98014298a104d4ac5b0 (patch)
tree6a9b4734fefe01a34ef2b45336276be4fafa1483 /server/sonar-webserver
parentb309ce1704e490af7daef2a0d0ab1bbba8c930b8 (diff)
downloadsonarqube-b0be5da0c49b74538dbce98014298a104d4ac5b0.tar.gz
sonarqube-b0be5da0c49b74538dbce98014298a104d4ac5b0.zip
SONAR-17524 changing default branch name for projects
Diffstat (limited to 'server/sonar-webserver')
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
index d30627adf7d..3f3c27434fe 100644
--- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
+++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
@@ -178,6 +178,7 @@ import org.sonar.server.plugins.ws.PluginUpdateAggregator;
import org.sonar.server.plugins.ws.PluginsWs;
import org.sonar.server.plugins.ws.UninstallAction;
import org.sonar.server.plugins.ws.UpdatesAction;
+import org.sonar.server.project.DefaultBranchNameResolver;
import org.sonar.server.project.ProjectQGChangeEventListener;
import org.sonar.server.project.ws.ProjectsWsModule;
import org.sonar.server.projectanalysis.ws.ProjectAnalysisWsModule;
@@ -297,6 +298,7 @@ public class PlatformLevel4 extends PlatformLevel {
IndexDefinitions.class,
WebAnalyticsLoaderImpl.class,
new MonitoringWsModule(),
+ DefaultBranchNameResolver.class,
// batch
new BatchWsModule(),