]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2525 Stop displaying the SCM revision number in the TimeMachine service
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 21 Jun 2011 13:19:56 +0000 (17:19 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 21 Jun 2011 13:42:12 +0000 (17:42 +0400)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 9dd426c6066b624681c8970ddbe72fd8f2a997fd..c4931774c606fd37617812992673e69fe83722a0 100644 (file)
@@ -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";