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

Unified Diff: lib/src/scan.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/media_type.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/scan.dart
diff --git a/lib/src/scan.dart b/lib/src/scan.dart
index 3541038438ced5cb8ea69daa5e31ccfa4fc34a8e..9af8428a212362481d2a2e006b7eb95c850b2cda 100644
--- a/lib/src/scan.dart
+++ b/lib/src/scan.dart
@@ -37,8 +37,8 @@ final whitespace = new RegExp("(?:${_lws.pattern})*");
///
/// Once this is finished, [scanner] will be at the next non-LWS character in
/// the string, or the end of the string.
-List parseList(StringScanner scanner, parseElement()) {
- var result = [];
+List/*<T>*/ parseList/*<T>*/(StringScanner scanner, /*=T*/ parseElement()) {
+ var result = /*<T>*/[];
// Consume initial empty values.
while (scanner.scan(",")) {
« no previous file with comments | « lib/src/media_type.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698