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

Unified Diff: runtime/bin/websocket_impl.dart

Issue 10911120: Cleanup and fixes to some dart:io files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « runtime/bin/string_stream.dart ('k') | tests/standalone/io/http_headers_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/websocket_impl.dart
diff --git a/runtime/bin/websocket_impl.dart b/runtime/bin/websocket_impl.dart
index f91ba1ffdbc55fa9c0a6326b705179c7b88ca2bf..32ba0c20591fbd9c096fd9c9534b86b5d59d6e0c 100644
--- a/runtime/bin/websocket_impl.dart
+++ b/runtime/bin/websocket_impl.dart
@@ -112,7 +112,6 @@ class _WebSocketProtocolProcessor {
default:
throw new WebSocketException("Protocol error");
- break;
}
_state = LEN_FIRST;
break;
@@ -190,7 +189,6 @@ class _WebSocketProtocolProcessor {
switch (_currentMessageType) {
case _WebSocketMessageType.NONE:
throw new WebSocketException("Protocol error");
- break;
case _WebSocketMessageType.TEXT:
case _WebSocketMessageType.BINARY:
@@ -205,8 +203,6 @@ class _WebSocketProtocolProcessor {
default:
throw new WebSocketException("Protocol error");
- break;
-
}
}
« no previous file with comments | « runtime/bin/string_stream.dart ('k') | tests/standalone/io/http_headers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698