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:
Leaf Petersen 2017-11-22 22:57:05 +00:00 committed by commit-bot@chromium.org
parent 616215df1b
commit cac2299976
2 changed files with 3 additions and 3 deletions

View file

@ -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));
}
}

View file

@ -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));
}