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

Unified Diff: sdk/lib/json/json.dart

Issue 12089066: Fix various warnings from the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/core/date_time.dart ('k') | sdk/lib/math/random.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/json/json.dart
diff --git a/sdk/lib/json/json.dart b/sdk/lib/json/json.dart
index e85d93fa8f5a7f7afeb0fb2dda0c8479c982e179..4348767eea666865b422cd6e22b80c4042b1f1bc 100644
--- a/sdk/lib/json/json.dart
+++ b/sdk/lib/json/json.dart
@@ -507,7 +507,7 @@ class JsonParser {
case BACKSLASH:
case QUOTE:
break;
- case CHAR_u: {
+ case CHAR_u:
int hexStart = position - 1;
int value = 0;
for (int i = 0; i < 4; i++) {
@@ -530,7 +530,6 @@ class JsonParser {
}
char = value;
break;
- }
default:
if (char < SPACE) fail(position, "Control character in string");
fail(position, "Unrecognized string escape");
« no previous file with comments | « sdk/lib/core/date_time.dart ('k') | sdk/lib/math/random.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698