aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main/src/main/java
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2022-05-30 18:50:42 +0200
committersonartech <sonartech@sonarsource.com>2022-05-31 20:02:50 +0000
commit9097b10693f9c4fe2c7bde4bccdbca151ebfa452 (patch)
tree10eb71dfd890e5725f4f085386812eeb65c53197 /server/sonar-main/src/main/java
parentcdeca9bf6ccd0cb1a3b2d397efa8ace1ef4789c2 (diff)
downloadsonarqube-9097b10693f9c4fe2c7bde4bccdbca151ebfa452.tar.gz
sonarqube-9097b10693f9c4fe2c7bde4bccdbca151ebfa452.zip
SONAR-16232 Use plugin api version for SonarRuntime impl
- introduce internal SonarQubeVersion
Diffstat (limited to 'server/sonar-main/src/main/java')
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/command/CommandFactoryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/command/CommandFactoryImpl.java b/server/sonar-main/src/main/java/org/sonar/application/command/CommandFactoryImpl.java
index c28f501eac3..a613120d694 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/command/CommandFactoryImpl.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/command/CommandFactoryImpl.java
@@ -71,7 +71,7 @@ public class CommandFactoryImpl implements CommandFactory {
SOCKS_PROXY_HOST.getKey(),
SOCKS_PROXY_PORT.getKey()};
- private static final Version SQ_VERSION = MetadataLoader.loadVersion(org.sonar.api.utils.System2.INSTANCE);
+ private static final Version SQ_VERSION = MetadataLoader.loadSQVersion(org.sonar.api.utils.System2.INSTANCE);
private final Props props;
private final File tempDir;
private final System2 system2;