From d5ad02bdab861fa9b8d08d5da51eb891517c95af Mon Sep 17 00:00:00 2001 From: fmallet Date: Thu, 23 Sep 2010 15:47:03 +0000 Subject: [PATCH] the rule.setUniqueKey(String repositoryKey, String key) also feed the mandatory configKey property with the value of the key --- sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5