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

Unified Diff: lib/src/authentication_challenge.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/http_parser.dart ('k') | lib/src/media_type.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/authentication_challenge.dart
diff --git a/lib/src/authentication_challenge.dart b/lib/src/authentication_challenge.dart
index c0b63ca80994d6156ee929c4a4dc0475aee6deb2..66841b4c8cdbc9984b8bbcdacfbbeccd2e0dfbca 100644
--- a/lib/src/authentication_challenge.dart
+++ b/lib/src/authentication_challenge.dart
@@ -42,7 +42,7 @@ class AuthenticationChallenge {
// Manually parse the inner list. We need to do some lookahead to
// disambiguate between an auth param and another challenge.
- var params = {};
+ var params = <String, String>{};
// Consume initial empty values.
while (scanner.scan(",")) {
@@ -99,7 +99,7 @@ class AuthenticationChallenge {
scanner.scan(whitespace);
var scheme = _scanScheme(scanner);
- var params = {};
+ var params = <String, String>{};
parseList(scanner, () => _scanAuthParam(scanner, params));
scanner.expectDone();
« no previous file with comments | « lib/http_parser.dart ('k') | lib/src/media_type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698