From cc058a386950f69d40a6d422f2927c3f92857724 Mon Sep 17 00:00:00 2001 From: Jacek Date: Tue, 31 May 2022 09:05:42 +0200 Subject: SONAR-16232 Drop usage of deprecated org.sonar.api.SonarQubeVersion --- .../main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-ce') diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java index 3a30af5138a..1385558c175 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java @@ -75,6 +75,7 @@ import org.sonar.core.platform.EditionProvider; import org.sonar.core.platform.PlatformEditionProvider; import org.sonar.core.platform.PluginClassLoader; import org.sonar.core.platform.PluginClassloaderFactory; +import org.sonar.core.platform.SonarQubeVersion; import org.sonar.core.platform.SpringComponentContainer; import org.sonar.core.util.UuidFactoryImpl; import org.sonar.db.DBSessionsImpl; @@ -276,8 +277,7 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer { props.rawProperties(), ThreadLocalSettings.class, new ConfigurationProvider(), - new org.sonar.api.SonarQubeVersion(sqVersion), - new org.sonar.core.platform.SonarQubeVersion(sqVersion), + new SonarQubeVersion(sqVersion), SonarRuntimeImpl.forSonarQube(apiVersion, SonarQubeSide.COMPUTE_ENGINE, edition), CeProcessLogging.class, UuidFactoryImpl.INSTANCE, -- cgit v1.2.3