Skip to content

Commit

Permalink
remove filter call
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Feb 22, 2025
1 parent 3c77d70 commit ea785ba
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ public void checkTypeParameterNullnessForAssignability(
Map<TypeVariable, Type> genericNullness = inferredTypes.get(methodInvocationTree);
List<Type> keyTypeList =
genericNullness.keySet().stream()
.filter(typeVar -> typeVar instanceof Type.TypeVar)
.map(typeVar -> (Type) typeVar)
.collect(Collectors.toList());
com.sun.tools.javac.util.List<Type> from = com.sun.tools.javac.util.List.from(keyTypeList);
Expand Down

0 comments on commit ea785ba

Please sign in to comment.