diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-10-18 16:40:30 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-10-19 11:50:15 +0200 |
commit | 8230c2a229c2ac7c59cee2ea28e56da7dd2b9f74 (patch) | |
tree | cc3765dd531210d79a3ca1362777cbff430e7612 /sonar-scanner-engine/src/main/java/org/sonar/scanner | |
parent | 0e3e1a3323f946f0be03f664c048d10c008d7db7 (diff) | |
download | sonarqube-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.java | 2 |
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()); |