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

Unified Diff: utils/lib/file_system_memory.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
Index: utils/lib/file_system_memory.dart
diff --git a/utils/lib/file_system_memory.dart b/utils/lib/file_system_memory.dart
index f638a41d2181cfe407cb3b0f058fa4c8ceb122ad..c1a15b930b9d6adca818fcdc16f847a27207f2c7 100644
--- a/utils/lib/file_system_memory.dart
+++ b/utils/lib/file_system_memory.dart
@@ -17,7 +17,7 @@ class MemoryFileSystem implements FileSystem {
MemoryFileSystem() : this.buffer = new StringBuffer();
void writeString(String outfile, String text) {
- buffer.add(text);
+ buffer.write(text);
}
String readAll(String filename) {

Powered by Google App Engine
This is Rietveld 408576698