aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLéo Geoffroy <leo.geoffroy@sonarsource.com>2024-11-28 15:48:45 +0100
committersonartech <sonartech@sonarsource.com>2024-11-29 20:03:06 +0000
commite2dce1098dd0b7439933af01f79610666b6fcbb9 (patch)
treea95c0f9b5e76d13637c74c05cfe3a3fe443ecdc5
parent750f43d80403166c33468e395a282b1e4465be7e (diff)
downloadsonarqube-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.java2
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(),