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: pkg/intl/lib/src/file_data_reader.dart

Issue 11412033: Rename File.readAsText to File.readAsString. There is no Text type in Dart (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 | « no previous file | samples/buildhook1/build.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/src/file_data_reader.dart
diff --git a/pkg/intl/lib/src/file_data_reader.dart b/pkg/intl/lib/src/file_data_reader.dart
index e5d3e51d2e14654fc574dc2137294e9815a9174e..4448081eb552ea96e7ac23184ef195eb59924a28 100644
--- a/pkg/intl/lib/src/file_data_reader.dart
+++ b/pkg/intl/lib/src/file_data_reader.dart
@@ -22,6 +22,6 @@ class FileDataReader implements LocaleDataReader {
/// Read the locale data found for [locale] on our [path].
Future read(String locale) {
var file = new File('$path$locale.json');
- return file.readAsText();
+ return file.readAsString();
}
}
« no previous file with comments | « no previous file | samples/buildhook1/build.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698