aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-04 17:20:26 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-07 09:30:39 +0200
commit082546c283020089c17845b37778a0e420a93886 (patch)
treef3bd206624b5b78cab6605b2e9f938b8c9100d92 /sonar-plugin-api
parent5258f37933329dfee8b27c1c06cbe32c7da64d08 (diff)
downloadsonarqube-082546c283020089c17845b37778a0e420a93886.tar.gz
sonarqube-082546c283020089c17845b37778a0e420a93886.zip
SONAR-6353 new metric days_since_last_commit
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 797c48bf78c..f214f49bb41 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
@@ -2224,7 +2224,7 @@ public final class CoreMetrics {
/**
* @since 5.2 – was computed in the dev cockpit plugin previously
*/
- public static final Metric DAYS_SINCE_LAST_COMMIT = new Metric.Builder(DAYS_SINCE_LAST_COMMIT_KEY, "Days since last commit", Metric.ValueType.INT)
+ public static final Metric<Integer> DAYS_SINCE_LAST_COMMIT = new Metric.Builder(DAYS_SINCE_LAST_COMMIT_KEY, "Days since last commit", Metric.ValueType.INT)
.setDomain(CoreMetrics.DOMAIN_SCM)
.create();