diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2019-10-14 16:28:14 -0500 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-10-30 20:21:08 +0100 |
commit | aa1c78266501b7ae53a6d553182f816aab28c362 (patch) | |
tree | 6182159f8dbed4086af3dd81a8adcc9d493a30a5 /sonar-scanner-engine/src/main/java/org/sonar | |
parent | dcd9175e8b4bd48c9cfc01690b4aeb1fff96e0f5 (diff) | |
download | sonarqube-aa1c78266501b7ae53a6d553182f816aab28c362.tar.gz sonarqube-aa1c78266501b7ae53a6d553182f816aab28c362.zip |
SONAR-11154 Remove parameters deprecated before 6.7 and enforce mandatory parameters
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultQualityProfileLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultQualityProfileLoader.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultQualityProfileLoader.java index 7bf41b77a93..5fe74d33d93 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultQualityProfileLoader.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/repository/DefaultQualityProfileLoader.java @@ -57,7 +57,7 @@ public class DefaultQualityProfileLoader implements QualityProfileLoader { @Override public List<QualityProfile> load(String projectKey) { - StringBuilder url = new StringBuilder(WS_URL + "?projectKey=").append(encodeForUrl(projectKey)); + StringBuilder url = new StringBuilder(WS_URL + "?project=").append(encodeForUrl(projectKey)); return handleErrors(url, () -> String.format("Failed to load the quality profiles of project '%s'", projectKey), true); } |