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-webserver/src/main/java/org | |
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-webserver/src/main/java/org')
-rw-r--r-- | server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java index 89ffe5944ec..9bbc457e8dd 100644 --- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java +++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java @@ -30,6 +30,7 @@ import org.sonar.api.utils.Version; import org.sonar.core.config.CorePropertyDefinitions; import org.sonar.core.extension.CoreExtensionRepositoryImpl; import org.sonar.core.extension.CoreExtensionsLoader; +import org.sonar.core.platform.SonarQubeVersion; import org.sonar.core.util.UuidFactoryImpl; import org.sonar.db.DBSessionsImpl; import org.sonar.db.DaoModule; @@ -92,8 +93,7 @@ public class PlatformLevel1 extends PlatformLevel { SonarEdition edition = MetadataLoader.loadEdition(System2.INSTANCE); add( - new org.sonar.api.SonarQubeVersion(sqVersion), - new org.sonar.core.platform.SonarQubeVersion(sqVersion), + new SonarQubeVersion(sqVersion), SonarRuntimeImpl.forSonarQube(apiVersion, SonarQubeSide.SERVER, edition), ThreadLocalSettings.class, ConfigurationProvider.class, |