mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:58:13 +00:00
Remove comment syntax from lib/convert.
Remove comment syntax on methods signatures in convert. This doesn't change the reified types, but may cause new errors and warnings in non-strong mode code. Bug: Change-Id: Ib811a4918d30eb5ba04300df928ac6c3868b2c2b Reviewed-on: https://dart-review.googlesource.com/21783 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Leaf Petersen <leafp@google.com>
This commit is contained in:
parent
616215df1b
commit
cac2299976
|
@ -34,7 +34,7 @@ abstract class Converter<S, T> implements StreamTransformer<S, T> {
|
|||
* The returned sink serves as input for the long-running conversion. The
|
||||
* given [sink] serves as output.
|
||||
*/
|
||||
Sink/*<S>*/ startChunkedConversion(Sink/*<T>*/ sink) {
|
||||
Sink<S> startChunkedConversion(Sink<T> sink) {
|
||||
throw new UnsupportedError(
|
||||
"This converter does not support chunked conversions: $this");
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ class _FusedConverter<S, M, T> extends Converter<S, T> {
|
|||
|
||||
T convert(S input) => _second.convert(_first.convert(input));
|
||||
|
||||
Sink/*<S>*/ startChunkedConversion(Sink/*<T>*/ sink) {
|
||||
Sink<S> startChunkedConversion(Sink<T> sink) {
|
||||
return _first.startChunkedConversion(_second.startChunkedConversion(sink));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class LineSplitter implements StreamTransformer<String, String> {
|
|||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue