|
|
|
@ -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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|