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

Unified Diff: sdk/lib/convert/line_splitter.dart

Issue 1827803002: Make convert library strong-mode compliant. Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix more converters. Created 4 years, 9 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 | « sdk/lib/convert/latin1.dart ('k') | sdk/lib/convert/utf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/line_splitter.dart
diff --git a/sdk/lib/convert/line_splitter.dart b/sdk/lib/convert/line_splitter.dart
index b9023f4c8fb246bfa235ef8c9e20ffa8120ac9c1..a9c94488a6c366e35d8650785403ef71338aac88 100644
--- a/sdk/lib/convert/line_splitter.dart
+++ b/sdk/lib/convert/line_splitter.dart
@@ -17,7 +17,8 @@ const int _CR = 13;
*
* The returned lines do not contain the line terminators.
*/
-class LineSplitter extends Converter<String, List<String>> {
+class LineSplitter extends
+ ChunkedConverter<String, List<String>, String, String> {
const LineSplitter();
@@ -79,9 +80,6 @@ class LineSplitter extends Converter<String, List<String>> {
}
return new _LineSplitterSink(sink);
}
-
- // Override the base-class' bind, to provide a better type.
- Stream<String> bind(Stream<String> stream) => super.bind(stream);
}
// TODO(floitsch): deal with utf8.
« no previous file with comments | « sdk/lib/convert/latin1.dart ('k') | sdk/lib/convert/utf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698