blob: 6eba0cd48fca67e9d36adf87bc365667d9478474 [file]
class Pair {}
List<Pair> otherPairs = new ArrayList<Pair>();
List<Pair> pairs = otherPairs.findAll(it -> {it != null})
List<Date> <warning descr="Cannot assign 'List<Object>' to 'List<Date>'">pairs2</warning> = otherPairs.findAll(it->{it != null})