mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix zero tolerance inspection (cast may be removed)
GitOrigin-RevId: 341e4225d4de6c7cafaec62888dde7612161167e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
019edb2e14
commit
14541e62d8
+4
-4
@@ -37,9 +37,9 @@ public class ShowProcessWindowAction extends ToggleAction implements DumbAware {
|
||||
public boolean isSelected(@NotNull AnActionEvent e) {
|
||||
IdeFrameImpl frame = getFrame();
|
||||
if (frame != null) {
|
||||
StatusBar statusBar = frame.getStatusBar();
|
||||
StatusBarEx statusBar = frame.getStatusBar();
|
||||
if (statusBar != null) {
|
||||
return ((StatusBarEx)statusBar).isProcessWindowOpen();
|
||||
return statusBar.isProcessWindowOpen();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,9 +56,9 @@ public class ShowProcessWindowAction extends ToggleAction implements DumbAware {
|
||||
public void setSelected(@NotNull AnActionEvent e, boolean state) {
|
||||
IdeFrameImpl frame = getFrame();
|
||||
if (frame != null) {
|
||||
StatusBar statusBar = frame.getStatusBar();
|
||||
StatusBarEx statusBar = frame.getStatusBar();
|
||||
if (statusBar != null) {
|
||||
((StatusBarEx)statusBar).setProcessWindowOpen(state);
|
||||
statusBar.setProcessWindowOpen(state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user