aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-01 13:45:42 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-01 13:45:42 +0200
commitcbe3819ae9e045049816761ff598ae5e74eac2e2 (patch)
tree7337e308e2ba4b52431c00007a7db029ddc7c726 /sonar-plugin-api
parent1f47755b387c6b9df30dfa9ef9fb9aee8b2fb900 (diff)
downloadsonarqube-cbe3819ae9e045049816761ff598ae5e74eac2e2.tar.gz
sonarqube-cbe3819ae9e045049816761ff598ae5e74eac2e2.zip
SONAR-5007 Revert find ids to rule finder logic (removed rules are returned)
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleFinder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleFinder.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleFinder.java
index 6e93bf5b7fe..89fd99a10b2 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleFinder.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleFinder.java
@@ -34,8 +34,10 @@ public interface RuleFinder extends TaskComponent, ServerComponent {
/**
* @since 2.5
+ * @deprecated since 4.4, Please use {@link #findByKey(org.sonar.api.rule.RuleKey)}}
*/
@CheckForNull
+ @Deprecated
Rule findById(int ruleId);
@CheckForNull