diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-24 09:11:30 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-02 16:07:04 +0200 |
commit | 534bda208505d82734a41f44791ccd50ea928432 (patch) | |
tree | 21841906bf21de140050dffdc7d070262208fc99 /sonar-plugin-api/src/main/java | |
parent | 08cdf04215f4b0b3a4ccfe7902c36df4906688c3 (diff) | |
download | sonarqube-534bda208505d82734a41f44791ccd50ea928432.tar.gz sonarqube-534bda208505d82734a41f44791ccd50ea928432.zip |
SONAR-6623 distribution of issues by debt in Compute Engine
This allows to deprecate org.sonar.api.measures.RuleMeasure
Diffstat (limited to 'sonar-plugin-api/src/main/java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasuresFilters.java | 8 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasuresFilters.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasuresFilters.java index 42530abf132..e3be32a43a0 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasuresFilters.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/MeasuresFilters.java @@ -204,6 +204,10 @@ public final class MeasuresFilters { } } + /** + * @deprecated since 5.2. Useless by design because of Compute Engine + */ + @Deprecated private abstract static class AbstractRuleMeasureFilter<M> extends MetricFilter<M> { protected AbstractRuleMeasureFilter(Metric metric) { super(metric); @@ -232,6 +236,10 @@ public final class MeasuresFilters { } } + /** + * @deprecated since 5.2. Useless by design because of Compute Engine + */ + @Deprecated private static class RuleFilter extends AbstractRuleMeasureFilter<RuleMeasure> { private RuleKey ruleKey; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java index ca201e7ca06..ba265ef413d 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java @@ -31,7 +31,9 @@ import javax.annotation.Nullable; /** * @since 1.10 + * @deprecated since 5.2. Ignored by design because of Compute Engine. */ +@Deprecated public class RuleMeasure extends Measure { private RuleKey ruleKey; |