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

wuhaoyang
Guo XIn 11 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
*/
public static List<Class<? extends JavaCheck>> getJavaTestChecks() {
return Collections.unmodifiableList(Arrays.asList(
/*NoIfStatementInTestsRule.class*/
));
return Collections.emptyList();
}
}

Loading…
Cancel
Save