From 263563d03a3a8b5171345f972c6308c0b6efb2cf Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 13 Dec 2019 14:22:25 +0100 Subject: [PATCH] SONAR-12728 Set "new_development_cost" metric type to float --- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 NEW_DEVELOPMENT_COST = new Metric.Builder(NEW_DEVELOPMENT_COST_KEY, "Development Cost on New Code", Metric.ValueType.STRING) + public static final Metric 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) -- 2.39.5