mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
enable static import quick fix on "method expected" error (IDEA-169966)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Import static method 'java.util.Collections.emptyList'" "true"
|
||||
import java.util.List;
|
||||
|
||||
import static java.util.Collections.emptyList;
|
||||
|
||||
public class X {
|
||||
String emptyList = "";
|
||||
List<String> get() {
|
||||
return emptyList();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Import static method 'java.util.Collections.emptyList'" "true"
|
||||
import java.util.List;
|
||||
public class X {
|
||||
String emptyList = "";
|
||||
List<String> get() {
|
||||
return <caret>emptyList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user