aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2022-05-10 15:49:14 +0200
committersonartech <sonartech@sonarsource.com>2022-05-11 20:02:59 +0000
commitb26a95828aa3a52f9855f95e7b987ff72020e7de (patch)
treea64e3a7bf3d2a40be3969ec779db227200bd1606 /server/sonar-webserver
parentbf0c2e6432fc59fee288a3d1a3df19c7edd49943 (diff)
downloadsonarqube-b26a95828aa3a52f9855f95e7b987ff72020e7de.tar.gz
sonarqube-b26a95828aa3a52f9855f95e7b987ff72020e7de.zip
SONAR-16303 Change RuleDescriptionFormatter from a static helper to regular bean
Diffstat (limited to 'server/sonar-webserver')
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
index 467040683db..6ccdff45a30 100644
--- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
+++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
@@ -210,6 +210,7 @@ import org.sonar.server.root.ws.RootWsModule;
import org.sonar.server.rule.CommonRuleDefinitionsImpl;
import org.sonar.server.rule.RuleCreator;
import org.sonar.server.rule.RuleDefinitionsLoader;
+import org.sonar.server.rule.RuleDescriptionFormatter;
import org.sonar.server.rule.RuleUpdater;
import org.sonar.server.rule.WebServerRuleFinderImpl;
import org.sonar.server.rule.index.RuleIndexDefinition;
@@ -285,6 +286,7 @@ public class PlatformLevel4 extends PlatformLevel {
addIfStandalone(StandaloneRuleActivatorEventsDistributor.class);
add(
+ RuleDescriptionFormatter.class,
ClusterVerification.class,
LogServerId.class,
LogOAuthWarning.class,