diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2022-05-31 09:05:42 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-05-31 20:02:50 +0000 |
commit | cc058a386950f69d40a6d422f2927c3f92857724 (patch) | |
tree | da1ac748d1ffd9f3ff29df2a24c8ad02b5b30322 /server/sonar-ce | |
parent | 9097b10693f9c4fe2c7bde4bccdbca151ebfa452 (diff) | |
download | sonarqube-cc058a386950f69d40a6d422f2927c3f92857724.tar.gz sonarqube-cc058a386950f69d40a6d422f2927c3f92857724.zip |
SONAR-16232 Drop usage of deprecated org.sonar.api.SonarQubeVersion
Diffstat (limited to 'server/sonar-ce')
-rw-r--r-- | server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
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, |