mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Obsolete code removal
This commit is contained in:
@@ -170,7 +170,7 @@ public class DialogWrapperPeerImpl extends DialogWrapperPeer implements FocusTra
|
||||
*/
|
||||
protected DialogWrapperPeerImpl(@NotNull DialogWrapper wrapper, @NotNull Component parent, boolean canBeParent) {
|
||||
myWrapper = wrapper;
|
||||
if (!parent.isShowing() && parent != JOptionPane.getRootFrame()) {
|
||||
if (!parent.isShowing()) {
|
||||
throw new IllegalArgumentException("parent must be showing: " + parent);
|
||||
}
|
||||
myWindowManager = null;
|
||||
|
||||
Reference in New Issue
Block a user