diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-06-09 16:26:56 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-06-17 20:03:08 +0000 |
commit | 2754feca4e5fa8fdd804c827783250f48676296c (patch) | |
tree | 1ed9522bbc9eff9444fae6bf0a951d976da2b859 /sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java | |
parent | 97f2c01fdd4ae863134d4aa1bf32b7dcd512b10c (diff) | |
download | sonarqube-2754feca4e5fa8fdd804c827783250f48676296c.tar.gz sonarqube-2754feca4e5fa8fdd804c827783250f48676296c.zip |
SONAR-14925 Remove code deprecated before 7.0 in the Plugin API
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java index ff6b5250357..698c039d06b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java @@ -20,10 +20,8 @@ package org.sonar.api.rules; import java.util.ArrayList; -import java.util.Date; import java.util.List; import java.util.stream.Collectors; -import javax.annotation.CheckForNull; import javax.annotation.Nullable; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.builder.ToStringBuilder; @@ -139,22 +137,6 @@ public class ActiveRule implements Cloneable { this.severity = severity; } - /** - * @deprecated since 2.5 use {@link #getSeverity()} instead. See http://jira.sonarsource.com/browse/SONAR-1829 - */ - @Deprecated - public RulePriority getPriority() { - return severity; - } - - /** - * @deprecated since 2.5 use {@link #setSeverity(RulePriority)} instead. See http://jira.sonarsource.com/browse/SONAR-1829 - */ - @Deprecated - public void setPriority(RulePriority priority) { - this.severity = priority; - } - public RulesProfile getRulesProfile() { return rulesProfile; } @@ -224,46 +206,6 @@ public class ActiveRule implements Cloneable { return rule.getKey(); } - /** - * @since 4.2 - * @deprecated in 4.4. Feature dropped. - */ - @CheckForNull - @Deprecated - public String getNoteData() { - return null; - } - - /** - * @since 4.2 - * @deprecated in 4.4. Feature dropped. - */ - @CheckForNull - @Deprecated - public String getNoteUserLogin() { - return null; - } - - /** - * @since 4.2 - * @deprecated in 4.4. Feature dropped. - */ - @CheckForNull - @Deprecated - public Date getNoteCreatedAt() { - return null; - } - - /** - * @since 4.2 - * @deprecated in 4.4. Feature dropped. - */ - @CheckForNull - @Deprecated - public Date getNoteUpdatedAt() { - return null; - } - @Override public boolean equals(Object o) { if (this == o) { |