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

Unified Diff: utils/tests/peg/peg_test.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
« utils/template/tree.dart ('K') | « utils/testrunner/layout_test_controller.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/peg/peg_test.dart
diff --git a/utils/tests/peg/peg_test.dart b/utils/tests/peg/peg_test.dart
index 59d2d5570b9c9ed825027cf5ff4d7f97ef8b6b94..692dc1518e7b6c2b9c08772d85908feab0fb1334 100644
--- a/utils/tests/peg/peg_test.dart
+++ b/utils/tests/peg/peg_test.dart
@@ -322,14 +322,14 @@ void check(grammar, rule, input, expected) {
printList(item) {
if (item is List) {
StringBuffer sb = new StringBuffer();
- sb.add('[');
+ sb.write('[');
var sep = '';
for (var x in item) {
- sb.add(sep);
- sb.add(printList(x));
+ sb.write(sep);
+ sb.write(printList(x));
sep = ',';
}
- sb.add(']');
+ sb.write(']');
return sb.toString();
}
if (item == null)
« utils/template/tree.dart ('K') | « utils/testrunner/layout_test_controller.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698