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

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

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/svg/dartium/svg_dartium.dart ('k') | tests/co19/test_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/uri/uri.dart
diff --git a/sdk/lib/uri/uri.dart b/sdk/lib/uri/uri.dart
index 9f1d73b2df5e592b9463ecef56c9a4e992ec3095..79d8563429574c28dfc2577147cec019b0511b26 100644
--- a/sdk/lib/uri/uri.dart
+++ b/sdk/lib/uri/uri.dart
@@ -56,7 +56,7 @@ class Uri {
}
// NOTE: This code was ported from: closure-library/closure/goog/uri/utils.js
- static final RegExp _splitRe = new RegExp(
+ static const RegExp _splitRe = const RegExp(
'^'
'(?:'
'([^:/?#.]+)' // scheme - ignore special characters
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/co19/test_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698