| Index: sdk/lib/convert/line_splitter.dart
|
| diff --git a/sdk/lib/convert/line_splitter.dart b/sdk/lib/convert/line_splitter.dart
|
| index 331527ecc2fed8ab9e95b359d5f1aeef518224f1..785ae8bca7f0516589db28109cda512cbf03b42c 100644
|
| --- a/sdk/lib/convert/line_splitter.dart
|
| +++ b/sdk/lib/convert/line_splitter.dart
|
| @@ -9,7 +9,7 @@ const int _LF = 10;
|
| const int _CR = 13;
|
|
|
| /**
|
| - * A [Converter] that splits a [String] into individual lines.
|
| + * A [StreamTranformer] that splits a [String] into individual lines.
|
| *
|
| * A line is terminated by either a CR (U+000D), a LF (U+000A), a
|
| * CR+LF sequence (DOS line ending),
|
| @@ -17,6 +17,7 @@ const int _CR = 13;
|
| *
|
| * The returned lines do not contain the line terminators.
|
| */
|
| +
|
| class LineSplitter
|
| extends Converter<String, List<String>>/*=Object*/
|
| implements ChunkedConverter<String, List<String>, String, String>
|
| @@ -83,7 +84,7 @@ class LineSplitter
|
| return new _LineSplitterSink(sink);
|
| }
|
|
|
| - Stream/*<String>*/ bind(Stream/*<String>*/ stream) {
|
| + Stream/*<String>*/ bind(Stream<String> stream) {
|
| return new Stream<String>.eventTransformed(
|
| stream,
|
| (EventSink<String> sink) => new _LineSplitterEventSink(sink));
|
|
|