Fix the rulechain usage

- Thanks to https://github.com/pmd/build-tools/pull/10
This commit is contained in:
Juan Martín Sotuyo Dodero
2018-10-15 05:32:03 -03:00
parent a0be9712dd
commit b0b74ff610
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class HardCodedCryptoKeyRule extends AbstractJavaRule {
validateProperKeyArgument(data, prefix);
}
}
return super.visit(node, data);
return data;
}
/**

View File

@ -56,7 +56,7 @@ public class InsecureCryptoIvRule extends AbstractJavaRule {
validateProperIv(data, prefix);
}
}
return super.visit(node, data);
return data;
}
private void validateProperIv(Object data, ASTPrimaryPrefix firstArgumentExpression) {