aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-13 10:18:48 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-13 10:18:48 +0100
commit10d7aa85c7973ac3ce5a1c30c18dff6b7dfd7c99 (patch)
treea591ea441ac60c4de2f31c900b4327754e2538fe /sonar-plugin-api
parent4c53a248ccc61ff97a3a890a4c6332c2cb782c62 (diff)
downloadsonarqube-10d7aa85c7973ac3ce5a1c30c18dff6b7dfd7c99.tar.gz
sonarqube-10d7aa85c7973ac3ce5a1c30c18dff6b7dfd7c99.zip
The metric "profile_version" should not be displayed in UI
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java1
1 files changed, 1 insertions, 0 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 1017eb48f05..f0ba0f9b2a0 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
@@ -2008,6 +2008,7 @@ public final class CoreMetrics {
.setDescription("Selected quality profile version")
.setQualitative(false)
.setDomain(DOMAIN_GENERAL)
+ .setHidden(true)
.create();
private static final List<Metric> METRICS;