diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-09-28 14:35:39 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-09-28 14:35:39 +0200 |
commit | cf8e83dba943ec2924a6a38c92ed91ae759f2cc2 (patch) | |
tree | fa3974221b561b6558dad0f28245d281a146f6fd /sonar-plugin-api | |
parent | b9b0e42026f12be329b5f5a152faee2094814f02 (diff) | |
download | sonarqube-cf8e83dba943ec2924a6a38c92ed91ae759f2cc2.tar.gz sonarqube-cf8e83dba943ec2924a6a38c92ed91ae759f2cc2.zip |
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/Formula.java | 3 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/Formula.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/Formula.java index 30f923c727e..83fecc8b274 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/Formula.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/Formula.java @@ -23,8 +23,7 @@ import java.util.List; /** * @since 1.11 - * @deprecated since 5.2 there's no more decorator on batch side - * TODO add link to new API + * @deprecated since 5.2 there's no more decorator on batch side, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead */ @Deprecated public interface Formula { diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java index cd4304e5349..949e0ab603c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java @@ -231,8 +231,7 @@ public class Metric<G extends Serializable> implements Serializable, org.sonar.a /** * @return the metric formula - * @deprecated since 5.2 there's no more decorator on batch side - * TODO add link to new API + * @deprecated since 5.2 there's no more decorator on batch side, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead */ @Deprecated public Formula getFormula() { @@ -244,8 +243,7 @@ public class Metric<G extends Serializable> implements Serializable, org.sonar.a * * @param formula the formula * @return this - * @deprecated since 5.2 there's no more decorator on batch side - * TODO add link to new API + * @deprecated since 5.2 there's no more decorator on batch side, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead */ @Deprecated public Metric<G> setFormula(Formula formula) { @@ -657,8 +655,7 @@ public class Metric<G extends Serializable> implements Serializable, org.sonar.a * @param f the formula * @return the builder * - * @deprecated since 5.2, it's no more possible to define a formula on a metric - * TODO add a link to the new API to declare formulas + * @deprecated since 5.2, it's no more possible to define a formula on a metric, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead */ @Deprecated public Builder setFormula(Formula f) { |