mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ModalityStateEx cleanup (IDEA-CR-21003)
This commit is contained in:
@@ -37,12 +37,7 @@ public class ModalityStateEx extends ModalityState {
|
||||
}
|
||||
|
||||
private List<Object> getModalEntities() {
|
||||
ArrayList<Object> result = new ArrayList<>();
|
||||
for (Object entity : myModalEntities) {
|
||||
//noinspection UseBulkOperation
|
||||
result.add(entity);
|
||||
}
|
||||
return result;
|
||||
return myModalEntities.toStrongList();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user