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

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

Issue 18496011: Clean up dart:io warnings/errors found by analyzer tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/buffer_list.dart ('k') | sdk/lib/io/link.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_impl.dart
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
index 1fc9a17be11e6f63deb740eb9d559b4b9cc6cb22..f61c555d5a440bc0899bc21cd510a8ec4d2f2d32 100644
--- a/sdk/lib/io/http_impl.dart
+++ b/sdk/lib/io/http_impl.dart
@@ -636,8 +636,8 @@ class _HttpOutboundConsumer implements StreamConsumer {
class _BufferTransformer extends StreamEventTransformer<List<int>, List<int>> {
- const int MIN_CHUNK_SIZE = 4 * 1024;
- const int MAX_BUFFER_SIZE = 16 * 1024;
+ static const int MIN_CHUNK_SIZE = 4 * 1024;
+ static const int MAX_BUFFER_SIZE = 16 * 1024;
final _BufferList _buffer = new _BufferList();
« no previous file with comments | « sdk/lib/io/buffer_list.dart ('k') | sdk/lib/io/link.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698