Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1068)

Unified Diff: lib/src/media_type.dart

Issue 1950183003: Remove deprecated APIs. (Closed) Base URL: git@github.com:dart-lang/http_parser@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/authentication_challenge.dart ('k') | lib/src/scan.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/media_type.dart
diff --git a/lib/src/media_type.dart b/lib/src/media_type.dart
index 6a040e05449018be381cd459ca68b860b798b6bf..37dd6be1fbc16bdb2f5cf07b10fe6fc19f56b7e7 100644
--- a/lib/src/media_type.dart
+++ b/lib/src/media_type.dart
@@ -53,7 +53,7 @@ class MediaType {
var subtype = scanner.lastMatch[0];
scanner.scan(whitespace);
- var parameters = {};
+ var parameters = <String, String>{};
while (scanner.scan(';')) {
scanner.scan(whitespace);
scanner.expect(token);
« no previous file with comments | « lib/src/authentication_challenge.dart ('k') | lib/src/scan.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698