diff options
author | David Gageot <david@gageot.net> | 2012-10-04 16:33:05 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-10-04 16:33:25 +0200 |
commit | 680a585a5f934d9976b78952b9427e79f2ce71d1 (patch) | |
tree | 73e57aee90edaac6c422a6016de19655c3fad852 /sonar-plugin-api | |
parent | 92f19cac9cd14ef8301112e560867f624a8af740 (diff) | |
download | sonarqube-680a585a5f934d9976b78952b9427e79f2ce71d1.tar.gz sonarqube-680a585a5f934d9976b78952b9427e79f2ce71d1.zip |
SONAR-3683 Remove SCM metrics "Commits", "Last Commit" and "Revision"
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 44 |
1 files changed, 0 insertions, 44 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 c609da95d8f..7e3adbf5073 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 @@ -1783,50 +1783,6 @@ public final class CoreMetrics { /** * @since 2.7 */ - public static final String SCM_COMMITS_KEY = "commits"; - - /** - * @since 2.7 - */ - public static final Metric SCM_COMMITS = new Metric.Builder(SCM_COMMITS_KEY, "Commits", Metric.ValueType.INT) - .setDomain(DOMAIN_SCM) - .create(); - - /** - * @since 2.7 - */ - public static final String SCM_LAST_COMMIT_DATE_KEY = "last_commit_date"; - - /** - * Date of last commit, which is represented as string in format {@link org.sonar.api.utils.DateUtils#DATE_FORMAT}. - * - * @since 2.7 - */ - public static final Metric SCM_LAST_COMMIT_DATE = new Metric.Builder(SCM_LAST_COMMIT_DATE_KEY, "Last commit", Metric.ValueType.STRING /* - * TODO: - * move - * to - * date - */) - .setDomain(DOMAIN_SCM) - .create(); - - /** - * @since 2.7 - */ - public static final String SCM_REVISION_KEY = "revision"; - - /** - * @since 2.7 - */ - public static final Metric SCM_REVISION = new Metric.Builder(SCM_REVISION_KEY, "Revision", Metric.ValueType.STRING) - .setDomain(DOMAIN_SCM) - .setHidden(true) - .create(); - - /** - * @since 2.7 - */ public static final String SCM_AUTHORS_BY_LINE_KEY = "authors_by_line"; /** |