diff options
author | Léo Geoffroy <leo.geoffroy@sonarsource.com> | 2024-11-28 15:48:45 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-11-29 20:03:06 +0000 |
commit | e2dce1098dd0b7439933af01f79610666b6fcbb9 (patch) | |
tree | a95c0f9b5e76d13637c74c05cfe3a3fe443ecdc5 | |
parent | 750f43d80403166c33468e395a282b1e4465be7e (diff) | |
download | sonarqube-e2dce1098dd0b7439933af01f79610666b6fcbb9.tar.gz sonarqube-e2dce1098dd0b7439933af01f79610666b6fcbb9.zip |
SONAR-23733 Portfolio Report Email uses MQR measures in MQR mode
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/mode/ModeService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/mode/ModeService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/mode/ModeService.java index 0e6d7f8db0c..5478a122dd3 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/mode/ModeService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/mode/ModeService.java @@ -44,7 +44,7 @@ public class ModeService extends BaseService { .setMediaType(MediaTypes.JSON)); } - ModeResource getMode() { + public ModeResource getMode() { return new Gson().fromJson(call( new GetRequest(path("clean-code-policy/mode")) .setMediaType(MediaTypes.JSON)).content(), |