mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE fix
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ public final class EditorTabbedContainer implements Disposable, CloseAction.Clos
|
||||
|
||||
for (String each : ids) {
|
||||
ToolWindow eachWnd = mgr.getToolWindow(each);
|
||||
if (!eachWnd.isAvailable()) continue;
|
||||
if (eachWnd == null || !eachWnd.isAvailable()) continue;
|
||||
|
||||
if (eachWnd.isVisible() && eachWnd.getType() == ToolWindowType.DOCKED) {
|
||||
ToolWindowAnchor eachAnchor = eachWnd.getAnchor();
|
||||
|
||||
Reference in New Issue
Block a user