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

This commit is contained in:
fmallet 2010-09-23 15:47:03 +00:00
parent 98a9a7f8c3
commit d5ad02bdab

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