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

Unified Diff: lib/src/byte_collector.dart

Issue 2660333005: Change generic comment syntax to real generic syntax. (Closed)
Patch Set: Revert formatting changes. 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
Index: lib/src/byte_collector.dart
diff --git a/lib/src/byte_collector.dart b/lib/src/byte_collector.dart
index 3b4f075034f853275ab587434e1147568c3b47e2..c7fe752fb10405e1eea5fc16dffbbb6cdb0cb154 100644
--- a/lib/src/byte_collector.dart
+++ b/lib/src/byte_collector.dart
@@ -13,7 +13,7 @@ import "dart:typed_data";
/// If any of the input data are not valid bytes, they will be truncated to
/// an eight-bit unsigned value in the resulting list.
Future<Uint8List> collectBytes(Stream<List<int>> source) {
- var byteLists = List<List<int>>[];
+ var byteLists = <List<int>>[];
var length = 0;
var completer = new Completer<Uint8List>.sync();
source.listen(
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | lib/src/delegate/event_sink.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698