Skip to content

[flutter_tools] remove dummy implementation from abstract class .isEnabled()#96888

Merged
fluttergithubbot merged 4 commits into
flutter:masterfrom
chris-forks:test-tool-features
Jan 29, 2022
Merged

[flutter_tools] remove dummy implementation from abstract class .isEnabled()#96888
fluttergithubbot merged 4 commits into
flutter:masterfrom
chris-forks:test-tool-features

Conversation

@christopherfujino
Copy link
Copy Markdown
Contributor

@christopherfujino christopherfujino commented Jan 19, 2022

Remove unused implementation of isEnabled in abstract class to ensure that it is not used by a future implementation that does not override.

Copy link
Copy Markdown
Contributor Author

@christopherfujino christopherfujino Jan 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this default was never called; I removed the implementation, so that future invocations will fail if a sub-class does not explicitly implement it.

@goderbauer goderbauer added the tool Affects the "flutter" command-line tool. See also t: labels. label Jan 20, 2022
@christopherfujino

This comment has been minimized.

@christopherfujino christopherfujino marked this pull request as ready for review January 24, 2022 23:02
Copy link
Copy Markdown
Contributor

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 lgtm

@fluttergithubbot fluttergithubbot merged commit da88baf into flutter:master Jan 29, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 29, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 29, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 29, 2022
godofredoc added a commit that referenced this pull request Feb 1, 2022
* [flutter_tools] remove dummy implementation from abstract class .isEnabled() (#96888)

* 'Update Engine revision to 776efd2 for stable release 2.10.0'

Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Feb 4, 2022
clocksmith pushed a commit to clocksmith/flutter that referenced this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants