disable add on demand static import for method reference qualifiers

IDEA-186826
This commit is contained in:
Anna.Kozlova
2018-02-16 15:55:27 +01:00
parent eabed4853d
commit 8703c07861
3 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import static java.util.Arrays.*;
public class Foo {
{
Block<Integer[]> b2 = Arrays::sort;
Block<Integer> bBroken = Arrays::sort;
sort((byte[])null);
}

View File

@@ -6,6 +6,7 @@ import java.util.*;
public class Foo {
{
Block<Integer[]> b2 = Arrays::sort;
Block<Integer> bBroken = Arrays::sort;
Arra<caret>ys.sort((byte[])null);
}