From 745bcc2d7178d1913285b61bec448127774679ee Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 21 Feb 2014 17:55:39 +0100 Subject: SONAR-4996 Measure on added debt are now in seconds --- sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-plugin-api') 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 4693a229fb2..6c2d95c5413 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 @@ -2146,7 +2146,7 @@ public final class CoreMetrics { /** * @since 4.1 */ - public static final Metric NEW_TECHNICAL_DEBT = new Metric.Builder(NEW_TECHNICAL_DEBT_KEY, "Technical Debt on new code", Metric.ValueType.FLOAT) + public static final Metric NEW_TECHNICAL_DEBT = new Metric.Builder(NEW_TECHNICAL_DEBT_KEY, "Technical Debt on new code", Metric.ValueType.WORK_DUR) .setDescription("Technical Debt of new code") .setDomain(DOMAIN_TECHNICAL_DEBT) .setDirection(Metric.DIRECTION_WORST) -- cgit v1.2.3