修复:在动态加载库前应对输入数据进行验证准则增加到RulesList中

wuhaoyang
Guo XIn 10 months ago
parent 088ab51787
commit e9897ca9cf
  1. 4
      sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/RulesList.java

@ -44,8 +44,6 @@ public final class RulesList {
* These rules are going to target TEST code only * These rules are going to target TEST code only
*/ */
public static List<Class<? extends JavaCheck>> getJavaTestChecks() { public static List<Class<? extends JavaCheck>> getJavaTestChecks() {
return Collections.unmodifiableList(Arrays.asList( return Collections.emptyList();
/*NoIfStatementInTestsRule.class*/
));
} }
} }

Loading…
Cancel
Save