From ae3b89750c8eb425303e15f5391ecaffb8941636 Mon Sep 17 00:00:00 2001 From: wuhaoyang <2507865306@qq.com> Date: Wed, 28 Feb 2024 16:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4html=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/keyware/sonar/java/rules/JavaFileCheckRegistrar.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/JavaFileCheckRegistrar.java b/sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/JavaFileCheckRegistrar.java index 5cd45ca..be82fd6 100644 --- a/sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/JavaFileCheckRegistrar.java +++ b/sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/JavaFileCheckRegistrar.java @@ -27,7 +27,6 @@ public class JavaFileCheckRegistrar implements CheckRegistrar { public void register(RegistrarContext registrarContext) { // 调用 registerClassesForRepository 以将类与正确的存储库密钥相关联 registrarContext.registerClassesForRepository(JavaSecurityDesignRulesRepository.REPOSITORY_KEY, RulesList.getJavaRules(), Collections.emptyList()); - registrarContext.registerClassesForRepository(JavaSecurityDesignRulesRepository.REPOSITORY_KEY + "-" + HtmlConstants.LANGUAGE_KEY, RulesList.getHtmlRules(), Collections.emptyList()); } }