diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-08 13:23:18 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-08 13:23:18 +0000 |
commit | 72d3b0a889574cea355b61f7395b38a55071da33 (patch) | |
tree | ccf1d4e3fb47c30aa0addce09913d5017833b559 /sonar-plugin-api | |
parent | 4a7eae13c556369592da2ed726e4c8546b61a17a (diff) | |
download | sonarqube-72d3b0a889574cea355b61f7395b38a55071da33.tar.gz sonarqube-72d3b0a889574cea355b61f7395b38a55071da33.zip |
SONAR-1937 violations tab : display violation age in days to current date
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 12 |
1 files changed, 6 insertions, 6 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 09d826610ca..4c812dcc659 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 @@ -375,27 +375,27 @@ public final class CoreMetrics { public static final String NEW_VIOLATIONS_KEY = "new_violations"; public static final Metric NEW_VIOLATIONS = new Metric(NEW_VIOLATIONS_KEY, "New Violations", "New Violations", Metric.ValueType.INT, - Metric.DIRECTION_WORST, true, DOMAIN_RULES); + Metric.DIRECTION_WORST, true, DOMAIN_RULES).setHidden(true); public static final String NEW_BLOCKER_VIOLATIONS_KEY = "new_blocker_violations"; public static final Metric NEW_BLOCKER_VIOLATIONS = new Metric(NEW_BLOCKER_VIOLATIONS_KEY, "New Blocker violations", "New Blocker violations", - Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES); + Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES).setHidden(true); public static final String NEW_CRITICAL_VIOLATIONS_KEY = "new_critical_violations"; public static final Metric NEW_CRITICAL_VIOLATIONS = new Metric(NEW_CRITICAL_VIOLATIONS_KEY, "New Critical violations", "New Critical violations", - Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES); + Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES).setHidden(true); public static final String NEW_MAJOR_VIOLATIONS_KEY = "new_major_violations"; public static final Metric NEW_MAJOR_VIOLATIONS = new Metric(NEW_MAJOR_VIOLATIONS_KEY, "New Major violations", "New Major violations", - Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES); + Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES).setHidden(true); public static final String NEW_MINOR_VIOLATIONS_KEY = "new_minor_violations"; public static final Metric NEW_MINOR_VIOLATIONS = new Metric(NEW_MINOR_VIOLATIONS_KEY, "New Minor violations", "New Minor violations", - Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES); + Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES).setHidden(true); public static final String NEW_INFO_VIOLATIONS_KEY = "new_info_violations"; public static final Metric NEW_INFO_VIOLATIONS = new Metric(NEW_INFO_VIOLATIONS_KEY, "New Info violations", "New Info violations", - Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES); + Metric.ValueType.INT, Metric.DIRECTION_WORST, true, DOMAIN_RULES).setHidden(true); /* Design */ |