aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-06-21 17:19:56 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-06-21 17:42:12 +0400
commitfe7eb1d29d9775f3da0d8b98ada1a5e927555cab (patch)
tree58180f1822af3fa7492d23747e8d048f7a0e2e05 /sonar-plugin-api
parent610722071cf7f5ba410b47b10479130f708d9e5f (diff)
downloadsonarqube-fe7eb1d29d9775f3da0d8b98ada1a5e927555cab.tar.gz
sonarqube-fe7eb1d29d9775f3da0d8b98ada1a5e927555cab.zip
SONAR-2525 Stop displaying the SCM revision number in the TimeMachine service
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 9dd426c6066..c4931774c60 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
@@ -1104,6 +1104,7 @@ public final class CoreMetrics {
public static final String SCM_REVISION_KEY = "revision";
public static final Metric SCM_REVISION = new Metric.Builder(SCM_REVISION_KEY, "Revision", Metric.ValueType.STRING)
.setDomain(DOMAIN_SCM)
+ .setHidden(true)
.create();
public static final String SCM_AUTHORS_BY_LINE_KEY = "authors_by_line";