Skip to content

Commit a44fe2c

Browse files
authored
Changes in the implementation of AnActionListener (#6950)
Changes in the implementation of AnActionListener - beforeActionPerformed and afterActionPerformed have APIs that are being removed with time
1 parent 319907f commit a44fe2c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flutter-idea/src/io/flutter/run/FlutterReloadManager.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private FlutterReloadManager(@NotNull Project project) {
118118
private @Nullable Project eventProject;
119119
private @Nullable Editor eventEditor;
120120

121-
public void beforeActionPerformed(@NotNull AnAction action, @NotNull DataContext dataContext, @NotNull AnActionEvent event) {
121+
public void beforeActionPerformed(@NotNull AnAction action, @NotNull AnActionEvent event) {
122122
if (!(action instanceof SaveAllAction)) {
123123
return;
124124
}
@@ -135,8 +135,7 @@ public void beforeActionPerformed(@NotNull AnAction action, @NotNull DataContext
135135
}
136136
}
137137

138-
@Override
139-
public void afterActionPerformed(@NotNull AnAction action, @NotNull DataContext dataContext, @NotNull AnActionEvent event) {
138+
public void afterActionPerformed(@NotNull AnAction action, @NotNull AnActionEvent event) {
140139
if (!(action instanceof SaveAllAction)) {
141140
return;
142141
}

0 commit comments

Comments
 (0)