Ver código fonte

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

tags/2.6
fmallet 13 anos atrás
pai
commit
d5ad02bdab

+ 1
- 1
sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java Ver arquivo

} }
public Rule setUniqueKey(String repositoryKey, String key) { public Rule setUniqueKey(String repositoryKey, String key) {
return setRepositoryKey(repositoryKey).setKey(key);
return setRepositoryKey(repositoryKey).setKey(key).setConfigKey(key);
} }
public Cardinality getCardinality() { public Cardinality getCardinality() {

Carregando…
Cancelar
Salvar