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

Unified Diff: runtime/bin/websocket.dart

Issue 10883071: - Change "static final" to "static const" in the runtime/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: runtime/bin/websocket.dart
===================================================================
--- runtime/bin/websocket.dart (revision 11416)
+++ runtime/bin/websocket.dart (working copy)
@@ -205,10 +205,10 @@
/**
* Possible states of the connection.
*/
- static final int CONNECTING = 0;
- static final int OPEN = 1;
- static final int CLOSING = 2;
- static final int CLOSED = 3;
+ static const int CONNECTING = 0;
+ static const int OPEN = 1;
+ static const int CLOSING = 2;
+ static const int CLOSED = 3;
/**
* Create a new web socket connection. The URL supplied in [url]

Powered by Google App Engine
This is Rietveld 408576698