mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
[java-inspections] IDEA-326289 Raw type when converting generic constructor method ref to lambda
GitOrigin-RevId: cd8f8d36f5ded99b168e8db0a00a06a82df4044f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cfa46d2993
commit
fb1eeff810
@@ -6,7 +6,7 @@ public class LocalClass {
|
||||
MyObject<Integer, T> h = new MyObject<>(1, x);
|
||||
MyObject<String, T> h2 = new MyObject<>("1", x);
|
||||
MyObject raw = new MyObject("1", x);
|
||||
IntFunction<MyObject<Character, T>> ic = a -> new MyObject(a, x);
|
||||
IntFunction<MyObject<Character, T>> ic = a -> new MyObject<>(a, x);
|
||||
System.out.println(new MyObject<Number, T>(1, x) {
|
||||
void test() {}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user