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

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

Issue 995463002: Fix warnings in socket.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index 9152beebda0ea1b0457906ca209e4f44b0b52ade..a759598def0bc35786ffb83ada29ac917d265fdc 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -763,7 +763,11 @@ class SocketException implements IOException {
final int port;
const SocketException(this.message, {this.osError, this.address, this.port});
- const SocketException.closed() : message = 'Socket has been closed';
+ const SocketException.closed()
+ : message = 'Socket has been closed',
+ osError = null,
+ address = null,
+ port = null;
String toString() {
StringBuffer sb = new StringBuffer();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698