aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-07-01 10:09:26 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-07-01 10:11:21 +0200
commit486169ddd0dba69431c6e85c1be073bdaf1b795b (patch)
tree41189d047f541abfae4e96013552e136b67f5f1a /sonar-plugin-api
parentb4ee43b4e63c79919b18d7fa5e62b1ccec7e1a0f (diff)
downloadsonarqube-486169ddd0dba69431c6e85c1be073bdaf1b795b.tar.gz
sonarqube-486169ddd0dba69431c6e85c1be073bdaf1b795b.zip
SONAR-5007 - Added legacy ID field to Rule for RuleFinder
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java3
1 files changed, 2 insertions, 1 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 0b7ac65d5c7..45328b52e49 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
@@ -511,8 +511,9 @@ public class Rule {
/**
* For definition of rule only
*/
- public void setTags(String[] tags) {
+ public Rule setTags(String[] tags) {
this.tags = tags;
+ return this;
}
/**