mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-78870 Idea imports unnecessary class when I'm creating anonymous class
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.util.*;
|
||||
|
||||
public class Runner {
|
||||
public static void main(String[] args) {
|
||||
List<Process> src;
|
||||
List<Process> dest = ListUtils.filter(src, new <caret>);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import java.util.*;
|
||||
|
||||
public class Runner {
|
||||
public static void main(String[] args) {
|
||||
List<Process> src;
|
||||
List<Process> dest = ListUtils.filter(src, new Pred<Process>() {
|
||||
@Override
|
||||
public boolean predicate(Process elem) {
|
||||
<selection><caret>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user