Skip to content

Commit d63c6ce

Browse files
authored
[CQ] remove redundant method declarations (#8135)
Removes method declarations that are identical to an overridden super. ![image](https://github.com/user-attachments/assets/cf4d95c9-c257-4acb-8387-7daeaa680cc2) --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide]([https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](#8098)). </details>
1 parent 8542457 commit d63c6ce

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

flutter-idea/src/io/flutter/sdk/FlutterSettingsConfigurable.java

-11
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,6 @@ public String getId() {
174174
return FlutterConstants.FLUTTER_SETTINGS_PAGE_ID;
175175
}
176176

177-
@Nullable
178-
@Override
179-
public Runnable enableSearch(String s) {
180-
return null;
181-
}
182-
183177
@Nullable
184178
@Override
185179
public JComponent createComponent() {
@@ -448,11 +442,6 @@ private void updateVersionTextIfCurrent(@NotNull FlutterSdk sdk, @NotNull String
448442
}
449443
}
450444

451-
@Override
452-
public void disposeUIResources() {
453-
454-
}
455-
456445
@Override
457446
@Nls
458447
public String getDisplayName() {

flutter-idea/src/io/flutter/utils/FileWatch.java

-4
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ void enable(boolean enabled) {
252252
}
253253
}
254254

255-
@Override
256-
public void before(@NotNull List<? extends VFileEvent> events) {
257-
}
258-
259255
@Override
260256
public void after(@NotNull List<? extends VFileEvent> events) {
261257
final Set<FileWatch> todo = new LinkedHashSet<>();

0 commit comments

Comments
 (0)