Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kenzieschmoll
Copy link
Member

Fixes #9169.

@kenzieschmoll kenzieschmoll requested review from a team, bkonyi and elliette as code owners May 2, 2025 16:33
@kenzieschmoll kenzieschmoll requested review from jakemac53 and removed request for bkonyi and elliette May 2, 2025 16:33
/// A namespace for VM service related server request handlers.
@visibleForTesting
abstract class Handler {
extension VmServiceHandler on Never {
Copy link
Member Author

Choose a reason for hiding this comment

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

technically a breaking rename, but this is a visibleForTesting member so no changelog update / version bump required.

required String vmServiceUriAsString,
required Uri vmServiceUri,
required bool connected,
// ignore: avoid-unused-parameters, false positive.
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI @incendial, this parameter is used directly above on line 83.

Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this lint indicating that it isn't used inside this function? That seems correct.

We could mark it deprecated if we don't want to remove it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah... good point. Removed.

@kenzieschmoll kenzieschmoll merged commit f157394 into flutter:master May 2, 2025
41 of 42 checks passed
@kenzieschmoll kenzieschmoll deleted the static branch May 2, 2025 17:26
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request May 5, 2025
Note: `Handler` was removed from `devtools_server` in flutter/devtools#9170

Change-Id: Ic29658a1caece780a72125ca8ed040bbdc2405e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426540
Reviewed-by: Ryan Macnak <[email protected]>
Commit-Queue: Elliott Brooks <[email protected]>
Reviewed-by: Kenzie Davisson <[email protected]>
hrajwade96 pushed a commit to hrajwade96/devtools that referenced this pull request Sep 2, 2025
)

* Clean up abstract classes that only contain static methods

* remove unused parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up abstract classes that only contain static methods

2 participants