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

Unified Diff: lib/src/stream_splitter.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_sink_transformer.dart ('k') | lib/src/stream_subscription_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/stream_splitter.dart
diff --git a/lib/src/stream_splitter.dart b/lib/src/stream_splitter.dart
index 448fe2a26ea926e2d3b75b3c5685bdb92b62bb80..3d8f994ee827a8e9784782c85f327035ee2989ef 100644
--- a/lib/src/stream_splitter.dart
+++ b/lib/src/stream_splitter.dart
@@ -57,10 +57,10 @@ class StreamSplitter<T> {
///
/// [count] defaults to 2. This is the same as creating [count] branches and
/// then closing the [StreamSplitter].
- static List<Stream/*<T>*/> splitFrom/*<T>*/(Stream/*<T>*/ stream,
+ static List<Stream<T>> splitFrom<T>(Stream<T> stream,
[int count]) {
if (count == null) count = 2;
- var splitter = new StreamSplitter/*<T>*/(stream);
+ var splitter = new StreamSplitter<T>(stream);
var streams = new List<Stream>.generate(count, (_) => splitter.split());
splitter.close();
return streams;
« no previous file with comments | « lib/src/stream_sink_transformer.dart ('k') | lib/src/stream_subscription_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698