aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2021-07-02 16:26:35 +0200
committersonartech <sonartech@sonarsource.com>2021-07-07 20:03:25 +0000
commit130b050813c91466815252a929fe2e29879da9f3 (patch)
tree94d73c226f32d14355b6f5a69938d731b6671dc0 /sonar-plugin-api/src
parenta5fc8a2122a569dc2305b10594d672df2a25a548 (diff)
downloadsonarqube-130b050813c91466815252a929fe2e29879da9f3.tar.gz
sonarqube-130b050813c91466815252a929fe2e29879da9f3.zip
SONAR-10762 Drop usage of 'user_managed' column
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/Metric.java2
1 files changed, 2 insertions, 0 deletions
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 76fe5ba492c..762da232cb5 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
@@ -327,6 +327,7 @@ public class Metric<G extends Serializable> implements Serializable, org.sonar.a
/**
* @return whether the metric is a managed by the users ("manual metric")
*/
+ @Deprecated
public Boolean getUserManaged() {
return userManaged;
}
@@ -697,6 +698,7 @@ public class Metric<G extends Serializable> implements Serializable, org.sonar.a
* @return the builder
* @since 2.10
*/
+ @Deprecated
public Builder setUserManaged(boolean b) {
this.userManaged = b;
return this;