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

Unified Diff: lib/src/stream_group.dart

Issue 2660333005: Change generic comment syntax to real generic syntax. (Closed)
Patch Set: Update version. Created 3 years, 10 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/stream_completer.dart ('k') | lib/src/stream_queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/stream_group.dart
diff --git a/lib/src/stream_group.dart b/lib/src/stream_group.dart
index 889ccd82685af96a2e5933b9228231804bd50bc6..4aa448e303e9513a8f99e98c87ef56451ea3e483 100644
--- a/lib/src/stream_group.dart
+++ b/lib/src/stream_group.dart
@@ -53,8 +53,8 @@ class StreamGroup<T> implements Sink<Stream<T>> {
///
/// This is equivalent to adding [streams] to a group, closing that group, and
/// returning its stream.
- static Stream/*<T>*/ merge/*<T>*/(Iterable<Stream/*<T>*/> streams) {
- var group = new StreamGroup/*<T>*/();
+ static Stream<T> merge<T>(Iterable<Stream<T>> streams) {
+ var group = new StreamGroup<T>();
streams.forEach(group.add);
group.close();
return group.stream;
« no previous file with comments | « lib/src/stream_completer.dart ('k') | lib/src/stream_queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698