Parcourir la source

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

tags/2.6
fmallet il y a 13 ans
Parent
révision
d5ad02bdab
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 Voir le fichier

@@ -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() {

Chargement…
Annuler
Enregistrer