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

Unified Diff: pkg/intl/lib/intl_standalone.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 | « pkg/intl/lib/date_format.dart ('k') | pkg/intl/lib/src/date_format_helpers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/intl_standalone.dart
diff --git a/pkg/intl/lib/intl_standalone.dart b/pkg/intl/lib/intl_standalone.dart
index d8ca238b8287e038911f68caaf1a5a4f4bf6e48b..6d42b5ecf597fd9aff4cd0199e463c816eddd80a 100644
--- a/pkg/intl/lib/intl_standalone.dart
+++ b/pkg/intl/lib/intl_standalone.dart
@@ -51,7 +51,7 @@ Future<String> findSystemLocale() {
* Regular expression to match the expected output of systeminfo on
* Windows. e.g. System Locale:<tab>en_US;English (United States)
*/
-RegExp _sysInfoRegex = new RegExp(r"System Locale:\s+(\w\w-\w+);");
+RegExp _sysInfoRegex = const RegExp(r"System Locale:\s+(\w\w-\w+);");
/**
* Regular expression to match the expected output of reading the defaults
@@ -61,7 +61,7 @@ RegExp _sysInfoRegex = new RegExp(r"System Locale:\s+(\w\w-\w+);");
* "pt-PT",
* ...
*/
-RegExp _appleDefaultsRegex = new RegExp(r'(\w\w_\w+)');
+RegExp _appleDefaultsRegex = const RegExp(r'(\w\w_\w+)');
/**
* Check to see if we have a "LANG" environment variable we can use and return
« no previous file with comments | « pkg/intl/lib/date_format.dart ('k') | pkg/intl/lib/src/date_format_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698