mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 11:00:04 +07:00
skip warnings for constructor refs with varargs (IDEA-174074)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
class Foo<H> {
|
||||
|
||||
private Foo(Foo s, Foo... ss) {}
|
||||
|
||||
{
|
||||
foo(Foo::new);
|
||||
}
|
||||
|
||||
private <T> void foo(final Function<Foo, T> param) { }
|
||||
}
|
||||
Reference in New Issue
Block a user