diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2014-02-21 17:55:39 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2014-02-25 19:01:33 +0100 |
commit | 745bcc2d7178d1913285b61bec448127774679ee (patch) | |
tree | dbc352e169e616fa0045f97361fd7a9d0a177caa /sonar-plugin-api | |
parent | a28009621916349750920edee59b0c6e859df20d (diff) | |
download | sonarqube-745bcc2d7178d1913285b61bec448127774679ee.tar.gz sonarqube-745bcc2d7178d1913285b61bec448127774679ee.zip |
SONAR-4996 Measure on added debt are now in seconds
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 2 |
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 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) |