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

Unified Diff: lib/io/http.dart

Issue 11348032: Fix issues found by analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « no previous file | lib/io/input_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/io/http.dart
diff --git a/lib/io/http.dart b/lib/io/http.dart
index 9418bba529ca2c2d8e34241cb68e19f2a977e654..79d16af00d8d3a0efc5bd4b63975e7197c65623c 100644
--- a/lib/io/http.dart
+++ b/lib/io/http.dart
@@ -66,7 +66,7 @@ abstract class HttpServer {
* setup. See [addRequestHandler] and [defaultRequestHandler] for
* information on how incoming HTTP requests are handled.
*/
- void listen(String host, int port, [int backlog]);
+ void listen(String host, int port, {int backlog: 128});
/**
* Attach the HTTP server to an existing [:ServerSocket:]. If the
« no previous file with comments | « no previous file | lib/io/input_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698