aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl
diff options
context:
space:
mode:
authorLéo Geoffroy <99647462+leo-geoffroy-sonarsource@users.noreply.github.com>2022-07-22 17:40:51 +0200
committersonartech <sonartech@sonarsource.com>2022-07-22 20:03:01 +0000
commit1220331cf405fb916a005284120b0ed02ea67ac2 (patch)
tree322bcb39923a31307e92117c641d719d43aa69c5 /sonar-plugin-api-impl
parent7882b9fdb8436ae2cd0553104282cba968e02bb4 (diff)
downloadsonarqube-1220331cf405fb916a005284120b0ed02ea67ac2.tar.gz
sonarqube-1220331cf405fb916a005284120b0ed02ea67ac2.zip
SONAR-17081 - Minimal compatibility version should be compared with runtime API version
Diffstat (limited to 'sonar-plugin-api-impl')
-rw-r--r--sonar-plugin-api-impl/src/main/java/org/sonar/api/internal/SonarRuntimeImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api-impl/src/main/java/org/sonar/api/internal/SonarRuntimeImpl.java b/sonar-plugin-api-impl/src/main/java/org/sonar/api/internal/SonarRuntimeImpl.java
index 051b567bc54..7ace1b55449 100644
--- a/sonar-plugin-api-impl/src/main/java/org/sonar/api/internal/SonarRuntimeImpl.java
+++ b/sonar-plugin-api-impl/src/main/java/org/sonar/api/internal/SonarRuntimeImpl.java
@@ -80,8 +80,8 @@ public class SonarRuntimeImpl implements SonarRuntime {
/**
* Create an instance for SonarQube runtime environment.
*/
- public static SonarRuntime forSonarQube(Version version, SonarQubeSide side, SonarEdition edition) {
- return new SonarRuntimeImpl(version, SonarProduct.SONARQUBE, side, edition);
+ public static SonarRuntime forSonarQube(Version apiVersion, SonarQubeSide side, SonarEdition edition) {
+ return new SonarRuntimeImpl(apiVersion, SonarProduct.SONARQUBE, side, edition);
}
/**