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

Unified Diff: tests/language/call_operator_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
Index: tests/language/call_operator_test.dart
diff --git a/tests/language/call_operator_test.dart b/tests/language/call_operator_test.dart
index 2dc70701b6de98fd88f89188105814fb9a3488c0..c3e285834dbe00d4eba58ef5fbff9e93fe404d9b 100644
--- a/tests/language/call_operator_test.dart
+++ b/tests/language/call_operator_test.dart
@@ -32,9 +32,9 @@ class E {
String call(String str, {int count: 1}) {
StringBuffer buffer = new StringBuffer();
for (var i = 0; i < count; i++) {
- buffer.add(str);
+ buffer.write(str);
if (i < count - 1) {
- buffer.add(":");
+ buffer.write(":");
}
}
return buffer.toString();

Powered by Google App Engine
This is Rietveld 408576698