mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-93546 Ordering is bad in Exception breakpoints "Add" dialog
This commit is contained in:
@@ -65,6 +65,7 @@ import java.awt.event.KeyAdapter;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -288,7 +289,7 @@ public abstract class AbstractTreeClassChooserDialog<T extends PsiNamedElement>
|
||||
}
|
||||
|
||||
private Set<Object> doFilter(Set<Object> elements) {
|
||||
Set<Object> result = new HashSet<Object>();
|
||||
Set<Object> result = new LinkedHashSet<Object>();
|
||||
for (Object o : elements) {
|
||||
if (myElementClass.isInstance(o) && getFilter().isAccepted((T)o)) {
|
||||
result.add(o);
|
||||
|
||||
Reference in New Issue
Block a user