From: Aurelien Poscia Date: Thu, 12 May 2022 07:18:18 +0000 (+0200) Subject: SONAR-16303 add integration tests to verify rules descriptions after the migration... X-Git-Tag: 9.5.0.56709~141 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=542721c8f32db311d959354fe9ba8b6b6875e7fa;p=sonarqube.git SONAR-16303 add integration tests to verify rules descriptions after the migration to 9.5 --- diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/rule/RuleDescriptionFormatter.java b/server/sonar-server-common/src/main/java/org/sonar/server/rule/RuleDescriptionFormatter.java index f44a1108f2a..f3cbffeae39 100644 --- a/server/sonar-server-common/src/main/java/org/sonar/server/rule/RuleDescriptionFormatter.java +++ b/server/sonar-server-common/src/main/java/org/sonar/server/rule/RuleDescriptionFormatter.java @@ -30,7 +30,6 @@ import org.sonar.db.rule.RuleDescriptionSectionDto; import org.sonar.db.rule.RuleDto; import org.sonar.markdown.Markdown; -import static com.google.common.collect.MoreCollectors.toOptional; import static java.util.stream.Collectors.toMap; import static org.sonar.api.server.rule.RuleDescriptionSection.RuleDescriptionSectionKeys.ASSESS_THE_PROBLEM_SECTION_KEY; import static org.sonar.api.server.rule.RuleDescriptionSection.RuleDescriptionSectionKeys.HOW_TO_FIX_SECTION_KEY;