aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-09-14 11:21:41 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-09-15 15:46:05 +0200
commit36ffb8e21518371688f86ce1271a09bea03108a2 (patch)
tree3e233de86f3eff52b2c51095cbb23191e871ad5f /sonar-plugin-api/src
parent9d80c9e921a1927b8496af23dbf51f08fc762d23 (diff)
downloadsonarqube-36ffb8e21518371688f86ce1271a09bea03108a2.tar.gz
sonarqube-36ffb8e21518371688f86ce1271a09bea03108a2.zip
SONAR-7987 Deprecate PropertyDefinition#propertySetKey()
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/Property.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java8
2 files changed, 10 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/Property.java b/sonar-plugin-api/src/main/java/org/sonar/api/Property.java
index 8ac6e648c4e..932f45aea28 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/Property.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/Property.java
@@ -109,7 +109,9 @@ public @interface Property {
* by its key.
*
* @since 3.3
+ * @deprecated since 6.1, as it was not used and too complex to maintain.
*/
+ @Deprecated
String propertySetKey() default "";
/**
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java
index a80801499d9..6f734e84c59 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinition.java
@@ -299,6 +299,10 @@ public final class PropertyDefinition {
return multiValues;
}
+ /**
+ * @deprecated since 6.1, as it was not used and too complex to maintain.
+ */
+ @Deprecated
public String propertySetKey() {
return propertySetKey;
}
@@ -503,6 +507,10 @@ public final class PropertyDefinition {
return this;
}
+ /**
+ * @deprecated since 6.1, as it was not used and too complex to maintain.
+ */
+ @Deprecated
public Builder propertySetKey(String propertySetKey) {
this.propertySetKey = propertySetKey;
return this;