From 00e684bad92f33d8f46334887ddc61f1c2f6c4c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?L=C3=A9o=20Geoffroy?= Date: Fri, 15 Nov 2024 11:56:53 +0100 Subject: [PATCH] NO-JIRA fix sonarqube issue --- .../src/main/java/org/sonar/server/badge/ws/MeasureAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/MeasureAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/MeasureAction.java index 42867dc0ad5..02c1d8e1e09 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/MeasureAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/MeasureAction.java @@ -74,7 +74,6 @@ import static org.sonar.server.measure.Rating.E; public class MeasureAction extends AbstractProjectBadgesWsAction { private static final String PARAM_METRIC = "metric"; - private final TelemetryBadgeProvider telemetryBadgeProvider; private static final Map METRIC_NAME_BY_KEY = ImmutableMap.builder() .put(COVERAGE_KEY, "coverage") @@ -120,6 +119,7 @@ public class MeasureAction extends AbstractProjectBadgesWsAction { E, Color.RATING_E)); private final DbClient dbClient; + private final TelemetryBadgeProvider telemetryBadgeProvider; public MeasureAction(DbClient dbClient, ProjectBadgesSupport support, SvgGenerator svgGenerator, TelemetryBadgeProvider telemetryBadgeProvider) { -- 2.39.5