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

Unified Diff: pkg/scheduled_test/lib/src/descriptor/directory.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: pkg/scheduled_test/lib/src/descriptor/directory.dart
diff --git a/pkg/scheduled_test/lib/src/descriptor/directory.dart b/pkg/scheduled_test/lib/src/descriptor/directory.dart
index 978daef7a7e96f3d65c0217501515c25bf257fdd..a3b2fdf5573cb787ea1d7c6a6ce87d9c8d4542dd 100644
--- a/pkg/scheduled_test/lib/src/descriptor/directory.dart
+++ b/pkg/scheduled_test/lib/src/descriptor/directory.dart
@@ -90,7 +90,7 @@ class Directory extends descriptor.Entry {
var lastEntryString = prefixLines(contents.last.describe(), prefix: ' ')
.replaceFirst(' ', "'-- ");
- buffer.add(lastEntryString);
+ buffer.write(lastEntryString);
return buffer.toString();
}
}

Powered by Google App Engine
This is Rietveld 408576698