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

Unified Diff: sdk/lib/io/data_transformer.dart

Issue 1974043002: Revert "Fix remaining strong-mode warnings and errors in dart:io." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « sdk/lib/io/crypto.dart ('k') | sdk/lib/io/directory_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/data_transformer.dart
diff --git a/sdk/lib/io/data_transformer.dart b/sdk/lib/io/data_transformer.dart
index 6a50af49f80c3c676dcde2ca3ce9e56c7e62ea3d..968fd20ebcbb8d2c83f99666e4dc434b7046cf8f 100644
--- a/sdk/lib/io/data_transformer.dart
+++ b/sdk/lib/io/data_transformer.dart
@@ -492,7 +492,7 @@ class _FilterSink extends ByteConversionSink {
_filter.process(bufferAndStart.buffer,
bufferAndStart.start,
end - (start - bufferAndStart.start));
- List<int> out;
+ var out;
while ((out = _filter.processed(flush: false)) != null) {
_sink.add(out);
}
@@ -510,7 +510,7 @@ class _FilterSink extends ByteConversionSink {
// message would not have a GZip frame (if compressed with GZip).
if (_empty) _filter.process(const [], 0, 0);
try {
- List<int> out;
+ var out;
while ((out = _filter.processed(end: true)) != null) {
_sink.add(out);
}
« no previous file with comments | « sdk/lib/io/crypto.dart ('k') | sdk/lib/io/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698