aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/java/org/sonar/scanner
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-10-18 16:40:30 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-10-19 11:50:15 +0200
commit8230c2a229c2ac7c59cee2ea28e56da7dd2b9f74 (patch)
treecc3765dd531210d79a3ca1362777cbff430e7612 /sonar-scanner-engine/src/main/java/org/sonar/scanner
parent0e3e1a3323f946f0be03f664c048d10c008d7db7 (diff)
downloadsonarqube-8230c2a229c2ac7c59cee2ea28e56da7dd2b9f74.tar.gz
sonarqube-8230c2a229c2ac7c59cee2ea28e56da7dd2b9f74.zip
SONAR-8284 Make IT/Overall coverage measures 'hidden'
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java
index 23d1c4b8a66..b3e43598e91 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java
@@ -216,7 +216,7 @@ public class DefaultIndex {
.withValue(measure.getValue().intValue());
} else if (Double.class.equals(metric.valueType())) {
newMeasure = new DefaultMeasure<Double>().forMetric((Metric<Double>) metric)
- .withValue(measure.getValue().doubleValue());
+ .withValue(measure.getValue());
} else if (String.class.equals(metric.valueType())) {
newMeasure = new DefaultMeasure<String>().forMetric((Metric<String>) metric)
.withValue(measure.getData());