From: fmallet Date: Thu, 23 Sep 2010 15:47:03 +0000 (+0000) Subject: the rule.setUniqueKey(String repositoryKey, String key) also feed the mandatory confi... X-Git-Tag: 2.6~963 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d5ad02bdab861fa9b8d08d5da51eb891517c95af;p=sonarqube.git the rule.setUniqueKey(String repositoryKey, String key) also feed the mandatory configKey property with the value of the key --- 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 6af63d2d370..cde01feaa4c 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 @@ -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() {