Skip to content

Commit 725f24d

Browse files
committed
Remove unused code
1 parent 6da8bbb commit 725f24d

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

flutter-idea/src/io/flutter/actions/RefreshToolWindowAction.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99
import com.intellij.openapi.actionSystem.AnActionEvent;
1010
import com.intellij.openapi.project.DumbAwareAction;
1111
import com.intellij.openapi.project.Project;
12-
import com.intellij.openapi.wm.ToolWindow;
13-
import com.intellij.openapi.wm.ex.ToolWindowManagerEx;
14-
import icons.FlutterIcons;
1512
import io.flutter.FlutterUtils;
16-
import io.flutter.performance.FlutterPerformanceView;
1713
import org.jetbrains.annotations.NotNull;
1814

1915
import java.util.Optional;
@@ -25,14 +21,12 @@ public RefreshToolWindowAction() {
2521
super(AllIcons.Actions.Refresh);
2622
}
2723

28-
public RefreshToolWindowAction(String toolWindowId) {
24+
public RefreshToolWindowAction(@NotNull String toolWindowId) {
2925
super(AllIcons.Actions.Refresh);
3026
this.toolWindowId = toolWindowId;
3127
}
3228
@Override
3329
public void actionPerformed(@NotNull AnActionEvent event) {
34-
System.out.println("In refresh tool window: " + toolWindowId);
35-
3630
final Project project = event.getProject();
3731
if (project == null) {
3832
return;

flutter-idea/src/io/flutter/view/EmbeddedBrowser.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@ public void openPanel(ToolWindow toolWindow, String tabName, DevToolsUrl devTool
125125
tab.devToolsUrlFuture.complete(devToolsUrl);
126126

127127
JComponent component = tab.embeddedTab.getTabComponent(tab.contentManager);
128-
component.addMouseListener(new MouseAdapter() {
129-
@Override
130-
public void mousePressed(MouseEvent e) {
131-
System.out.println("mouse clicked");
132-
}
133-
});
134128

135129
ApplicationManager.getApplication().invokeLater(() -> {
136130
if (tab.contentManager.isDisposed()) {

0 commit comments

Comments
 (0)