diff options
Diffstat (limited to 'sonar-deprecated')
4 files changed, 11 insertions, 10 deletions
diff --git a/sonar-deprecated/src/main/java/org/sonar/api/rules/RulesManager.java b/sonar-deprecated/src/main/java/org/sonar/api/rules/RulesManager.java index 3ee0330b59e..d50f33c1896 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/rules/RulesManager.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/rules/RulesManager.java @@ -19,16 +19,8 @@ */ package org.sonar.api.rules; -import org.sonar.api.Plugin; -import org.sonar.api.resources.Language; - -import java.util.Collection; -import java.util.List; -import java.util.Map; -import java.util.Set; - /** - * @deprecated since 2.3 + * @deprecated since 2.3 */ @Deprecated public abstract class RulesManager { @@ -37,7 +29,7 @@ public abstract class RulesManager { * Gets a rule belonging to a defined plugin based on its key * * @param pluginKey the plugin key - * @param ruleKey the rule key + * @param ruleKey the rule key * @return the rule */ public abstract Rule getPluginRule(String pluginKey, String ruleKey); diff --git a/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Profile.java b/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Profile.java index 42a4ab0ff39..2584621abc4 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Profile.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Profile.java @@ -26,6 +26,9 @@ import com.thoughtworks.xstream.annotations.XStreamImplicit; import java.util.ArrayList; import java.util.List; +/** + * @deprecated since 2.3 + */ @Deprecated @XStreamAlias("profile") public class Profile { diff --git a/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Property.java b/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Property.java index 7f7211dff0f..dc7345c1cb3 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Property.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Property.java @@ -22,6 +22,9 @@ package org.sonar.api.rules.xml; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +/** + * @deprecated since 2.3 + */ @Deprecated @XStreamAlias("property") public class Property { diff --git a/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Rule.java b/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Rule.java index 81cb0ef1ff9..88d4c93e1a7 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Rule.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/rules/xml/Rule.java @@ -26,6 +26,9 @@ import com.thoughtworks.xstream.annotations.XStreamImplicit; import java.util.ArrayList; import java.util.List; +/** + * @deprecated since 2.3 + */ @Deprecated @XStreamAlias("rule") public class Rule implements Comparable<String> { |