Skip to content

Commit d440905

Browse files
lrhnCommit Queue
authored andcommitted
Reestablish abstract on HttpProfiler.
Class used to be abstract, but lost it when made `final`. There is no reason to allow instantiation, it's all static members. Restablishing the `abstract` before we release 3.0, so we don't have to go through any extra steps. The class is public, exported by `dart:io`. (Should probably also be documented.) Change-Id: Ic1a3e1a777ecbdcf535b92dbcdd88f55a65e9cbe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/297463 Commit-Queue: Lasse Nielsen <[email protected]> Reviewed-by: Slava Egorov <[email protected]>
1 parent a0d6b2d commit d440905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/_http/http_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
part of dart._http;
66

7-
final class HttpProfiler {
7+
abstract final class HttpProfiler {
88
static const _kType = 'HttpProfile';
99

1010
static final Map<String, _HttpProfileData> _profile = {};

0 commit comments

Comments
 (0)