diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java index 67e2584c93e..321869833af 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java @@ -397,52 +397,6 @@ public class Rule { return this; } - /** - * For internal use only. - * - * @since 4.3 - * @deprecated since 4.4, use {@link #getCharacteristicKey()} - */ - @CheckForNull - @Deprecated - public Integer getCharacteristicId() { - return null; - } - - /** - * For internal use only. - * - * @since 4.3 - * @deprecated since 4.4, use {@link #setCharacteristicKey(String)} - */ - @Deprecated - public Rule setCharacteristicId(@Nullable Integer characteristicId) { - return this; - } - - /** - * For internal use only. - * - * @since 4.3 - * @deprecated since 4.4, use {@link #getDefaultCharacteristicKey()} - */ - @CheckForNull - @Deprecated - public Integer getDefaultCharacteristicId() { - return null; - } - - /** - * For internal use only. - * - * @since 4.3 - * @deprecated since 4.4, use {@link #setDefaultCharacteristicKey(String)} - */ - @Deprecated - public Rule setDefaultCharacteristicId(@Nullable Integer defaultCharacteristicId) { - return this; - } - @Override public boolean equals(Object obj) { if (!(obj instanceof Rule)) { @@ -518,79 +472,4 @@ public class Rule { return RuleKey.of(getRepositoryKey(), getKey()); } - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @CheckForNull - @Deprecated - public String getDefaultCharacteristicKey() { - return null; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @Deprecated - public Rule setDefaultCharacteristicKey(@Nullable String defaultCharacteristicKey) { - return this; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @CheckForNull - @Deprecated - public String getDefaultSubCharacteristicKey() { - return null; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @Deprecated - public Rule setDefaultSubCharacteristicKey(@Nullable String defaultSubCharacteristicKey) { - return this; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @CheckForNull - @Deprecated - public String getCharacteristicKey() { - return null; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @Deprecated - public Rule setCharacteristicKey(@Nullable String characteristicKey) { - return this; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @CheckForNull - @Deprecated - public String getSubCharacteristicKey() { - return null; - } - - /** - * @since 4.4 - * @deprecated in 5.5. SQALE Quality Model is replaced by SonarQube Quality Model. - */ - @Deprecated - public Rule setSubCharacteristicKey(@Nullable String subCharacteristicKey) { - return this; - } } |