From c77e3c79702ca21833a2c62224e3aedadd79081f Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 9 Jan 2015 10:20:15 +0100 Subject: [PATCH] SONAR-6014 Fix regression with rule parameters --- .../src/main/java/org/sonar/batch/rule/RulesProfileProvider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sonar-batch/src/main/java/org/sonar/batch/rule/RulesProfileProvider.java b/sonar-batch/src/main/java/org/sonar/batch/rule/RulesProfileProvider.java index 3ac525567f0..f890761ba37 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/rule/RulesProfileProvider.java +++ b/sonar-batch/src/main/java/org/sonar/batch/rule/RulesProfileProvider.java @@ -81,6 +81,7 @@ public class RulesProfileProvider extends ProviderAdapter { ActiveRule deprecatedActiveRule = deprecatedProfile.activateRule(rule, RulePriority.valueOf(activeRule.severity())); for (Map.Entry param : activeRule.params().entrySet()) { + rule.createParameter(param.getKey()); deprecatedActiveRule.setParameter(param.getKey(), param.getValue()); } } -- 2.39.5