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

Unified Diff: samples/buildhook2/build.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 | « samples/buildhook2/bin/test.dart ('k') | sdk/lib/io/file.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/buildhook2/build.dart
diff --git a/samples/buildhook2/build.dart b/samples/buildhook2/build.dart
index d66ddbe62329f4188e33967a0bfc4536e0728c26..d0929d8e894093345683a9e54bc5e706fca6a965 100644
--- a/samples/buildhook2/build.dart
+++ b/samples/buildhook2/build.dart
@@ -99,7 +99,7 @@ void _processFile(String arg) {
File file = new File(arg);
- String contents = file.readAsTextSync();
+ String contents = file.readAsStringSync();
File outFile = new File("${arg}bar");
« no previous file with comments | « samples/buildhook2/bin/test.dart ('k') | sdk/lib/io/file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698