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 /sonar-scanner-engine | |
parent | 9097b10693f9c4fe2c7bde4bccdbca151ebfa452 (diff) | |
download | sonarqube-cc058a386950f69d40a6d422f2927c3f92857724.tar.gz sonarqube-cc058a386950f69d40a6d422f2927c3f92857724.zip |
SONAR-16232 Drop usage of deprecated org.sonar.api.SonarQubeVersion
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SpringGlobalContainer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SpringGlobalContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SpringGlobalContainer.java index dca880238dc..78be7024302 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SpringGlobalContainer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/SpringGlobalContainer.java @@ -42,6 +42,7 @@ import org.sonar.core.platform.PluginClassLoader; import org.sonar.core.platform.PluginClassloaderFactory; import org.sonar.core.platform.PluginInfo; import org.sonar.core.platform.PluginRepository; +import org.sonar.core.platform.SonarQubeVersion; import org.sonar.core.platform.SpringComponentContainer; import org.sonar.core.util.DefaultHttpDownloader; import org.sonar.core.util.UuidFactoryImpl; @@ -90,8 +91,7 @@ public class SpringGlobalContainer extends SpringComponentContainer { PluginClassloaderFactory.class, ScannerPluginJarExploder.class, ExtensionInstaller.class, - new org.sonar.api.SonarQubeVersion(sqVersion), - new org.sonar.core.platform.SonarQubeVersion(sqVersion), + new SonarQubeVersion(sqVersion), new GlobalServerSettingsProvider(), new GlobalConfigurationProvider(), new ScannerWsClientProvider(), |