aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2019-12-13 14:22:25 +0100
committerSonarTech <sonartech@sonarsource.com>2019-12-13 20:46:22 +0100
commit263563d03a3a8b5171345f972c6308c0b6efb2cf (patch)
tree10ac7f20adb39ab2e8f2ca2dfa98b5b7801a4fe5 /sonar-plugin-api
parentd1b1129f69350200656b3ac8a4ac93f2d3231440 (diff)
downloadsonarqube-263563d03a3a8b5171345f972c6308c0b6efb2cf.tar.gz
sonarqube-263563d03a3a8b5171345f972c6308c0b6efb2cf.zip
SONAR-12728 Set "new_development_cost" metric type to float
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
index 4b2a1605da7..748b57c2899 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
@@ -1283,7 +1283,7 @@ public final class CoreMetrics {
/**
* @since 7.0
*/
- public static final Metric<String> NEW_DEVELOPMENT_COST = new Metric.Builder(NEW_DEVELOPMENT_COST_KEY, "Development Cost on New Code", Metric.ValueType.STRING)
+ public static final Metric<String> NEW_DEVELOPMENT_COST = new Metric.Builder(NEW_DEVELOPMENT_COST_KEY, "Development Cost on New Code", Metric.ValueType.FLOAT)
.setDescription("Development cost on new code")
.setDomain(DOMAIN_MAINTAINABILITY)
.setDirection(Metric.DIRECTION_WORST)