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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/byte_strings.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: sdk/lib/_internal/compiler/implementation/scanner/byte_strings.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/byte_strings.dart b/sdk/lib/_internal/compiler/implementation/scanner/byte_strings.dart
index c9372bffe2f99f93bd6e9e0b607218cbcfc0aa3a..92fcdc5e16c7b7aad9f265738a270be7d88d653e 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/byte_strings.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/byte_strings.dart
@@ -43,7 +43,7 @@ abstract class ByteString extends Iterable<int> implements SourceString {
}
printOn(StringBuffer sb) {
- sb.add(slowToString());
+ sb.write(slowToString());
}
bool get isEmpty => length == 0;

Powered by Google App Engine
This is Rietveld 408576698