< prev index next >

test/langtools/tools/javac/generics/inference/8176534/TestUncheckedCalls.java

Print this page
rev 52865 : [mq]: 8210031

*** 219,229 **** boolean declFilter() { return Stream.of(decls) .filter(d -> d.hasKind(DeclKind.NONE)) .flatMap(d -> Stream.of(d.returnKind(), d.argumentsKind(), d.typeVarsKind())) ! .noneMatch(tk -> tk.ordinal() != 0); } boolean tvarFilter() { return Stream.of(decls) .filter(d -> !d.hasKind(DeclKind.NONE)) --- 219,229 ---- boolean declFilter() { return Stream.of(decls) .filter(d -> d.hasKind(DeclKind.NONE)) .flatMap(d -> Stream.of(d.returnKind(), d.argumentsKind(), d.typeVarsKind())) ! .noneMatch((Enum<? extends Enum<?>> tk) -> tk.ordinal() != 0); } boolean tvarFilter() { return Stream.of(decls) .filter(d -> !d.hasKind(DeclKind.NONE))
< prev index next >