From: Janos Gyerik Date: Wed, 13 Feb 2019 12:56:26 +0000 (+0100) Subject: SONAR-11706 Add metrics to PrAnalysisData and PrChangedData X-Git-Tag: 7.7~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0cc9db4a00cc51bdf418e14c1fa85cbd3f77508e;p=sonarqube.git SONAR-11706 Add metrics to PrAnalysisData and PrChangedData --- diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/metric/MetricDtoToMetric.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/metric/MetricDtoToMetric.java index 99f2e8da903..9fd29f886f2 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/metric/MetricDtoToMetric.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/metric/MetricDtoToMetric.java @@ -26,7 +26,7 @@ import org.sonar.ce.task.projectanalysis.measure.Measure; import static com.google.common.base.MoreObjects.firstNonNull; -enum MetricDtoToMetric implements Function { +public enum MetricDtoToMetric implements Function { INSTANCE; private static final int DEFAULT_DECIMAL_SCALE = 1;