修改:删除无用输出语句

wuhaoyang
RenFengJiang 10 months ago
parent 0087499a7e
commit b007bb9f3b
  1. 2
      sonar-keyware-plugins-java/src/main/java/com/keyware/sonar/java/rules/checkers/HttpInputDataChecker.java

@ -53,9 +53,7 @@ public class HttpInputDataChecker extends IssuableSubscriptionVisitor {
@Override
public void visitIfStatement(IfStatementTree tree) {
System.out.println(tree);
ExpressionTree condition = tree.condition();
System.out.println(condition.toString());
if(condition instanceof AssignmentExpressionTreeImpl){
AssignmentExpressionTreeImpl assignmentExpressionTree = (AssignmentExpressionTreeImpl) condition;
list.add(assignmentExpressionTree.variable().toString());

Loading…
Cancel
Save