dogfood - suppress ReturnEmptyCollectionRatherThanNull
This commit is contained in:
@ -358,6 +358,7 @@ public class MissingOverrideRule extends AbstractJavaRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
|
||||||
private static Class<?>[] getParameterTypes(ASTFormalParameters params) {
|
private static Class<?>[] getParameterTypes(ASTFormalParameters params) {
|
||||||
Class<?>[] paramTypes = new Class[params.size()];
|
Class<?>[] paramTypes = new Class[params.size()];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -36,6 +36,7 @@ public final class TypeInferenceResolver {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
|
||||||
public static List<JavaTypeDefinition> inferTypes(List<Constraint> constraints, List<Bound> bounds,
|
public static List<JavaTypeDefinition> inferTypes(List<Constraint> constraints, List<Bound> bounds,
|
||||||
List<Variable> variables) {
|
List<Variable> variables) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user