dogfood - suppress ReturnEmptyCollectionRatherThanNull

This commit is contained in:
Andreas Dangel
2022-01-09 21:29:09 +01:00
parent 65b4ba58a7
commit f38e99c65e
2 changed files with 2 additions and 0 deletions

View File

@ -358,6 +358,7 @@ public class MissingOverrideRule extends AbstractJavaRule {
}
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
private static Class<?>[] getParameterTypes(ASTFormalParameters params) {
Class<?>[] paramTypes = new Class[params.size()];
int i = 0;

View File

@ -36,6 +36,7 @@ public final class TypeInferenceResolver {
}
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
public static List<JavaTypeDefinition> inferTypes(List<Constraint> constraints, List<Bound> bounds,
List<Variable> variables) {