diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2022-05-10 15:49:14 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-05-11 20:02:59 +0000 |
commit | b26a95828aa3a52f9855f95e7b987ff72020e7de (patch) | |
tree | a64e3a7bf3d2a40be3969ec779db227200bd1606 /server/sonar-ce/src | |
parent | bf0c2e6432fc59fee288a3d1a3df19c7edd49943 (diff) | |
download | sonarqube-b26a95828aa3a52f9855f95e7b987ff72020e7de.tar.gz sonarqube-b26a95828aa3a52f9855f95e7b987ff72020e7de.zip |
SONAR-16303 Change RuleDescriptionFormatter from a static helper to regular bean
Diffstat (limited to 'server/sonar-ce/src')
-rw-r--r-- | server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java index 7a83f3db85b..8193be28b65 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java @@ -138,6 +138,7 @@ import org.sonar.server.qualitygate.notification.QGChangeEmailTemplate; import org.sonar.server.qualitygate.notification.QGChangeNotificationHandler; import org.sonar.server.qualityprofile.index.ActiveRuleIndexer; import org.sonar.server.rule.DefaultRuleFinder; +import org.sonar.server.rule.RuleDescriptionFormatter; import org.sonar.server.rule.index.RuleIndex; import org.sonar.server.rule.index.RuleIndexer; import org.sonar.server.setting.DatabaseSettingLoader; @@ -353,6 +354,7 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer { private static void populateLevel4(Container container, Props props) { container.add( + RuleDescriptionFormatter.class, ResourceTypes.class, DefaultResourceTypes.get(), |