Browse Source

the rule.setUniqueKey(String repositoryKey, String key) also feed the mandatory configKey property with the value of the key

tags/2.6
fmallet 13 years ago
parent
commit
d5ad02bdab
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java

+ 1
- 1
sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java View File

@@ -332,7 +332,7 @@ public final class Rule {
}
public Rule setUniqueKey(String repositoryKey, String key) {
return setRepositoryKey(repositoryKey).setKey(key);
return setRepositoryKey(repositoryKey).setKey(key).setConfigKey(key);
}
public Cardinality getCardinality() {

Loading…
Cancel
Save