mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
lambda: take care of diamonds
This commit is contained in:
@@ -8,6 +8,7 @@ public class BugReportLambdaSquiggles<T> {
|
||||
|
||||
static void bar( BugReportLambdaSquiggles<Integer> x) {
|
||||
x.flatMap(t1 -> new ArrayList<String>(t1));
|
||||
x.flatMap(t1 -> new ArrayList<>(t1));
|
||||
}
|
||||
|
||||
interface Mapper<T, U> {
|
||||
|
||||
Reference in New Issue
Block a user