Fix the rulechain usage
- Thanks to https://github.com/pmd/build-tools/pull/10
This commit is contained in:
@ -49,7 +49,7 @@ public class HardCodedCryptoKeyRule extends AbstractJavaRule {
|
||||
validateProperKeyArgument(data, prefix);
|
||||
}
|
||||
}
|
||||
return super.visit(node, data);
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user