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

Unified Diff: tools/line_doc_comments.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: tools/line_doc_comments.dart
diff --git a/tools/line_doc_comments.dart b/tools/line_doc_comments.dart
index 50727ee9d1a12a34147ea5122924accf0f63810c..942881f473da048faafed0d8d61735d70d27d611 100755
--- a/tools/line_doc_comments.dart
+++ b/tools/line_doc_comments.dart
@@ -83,7 +83,7 @@ String fixContents(List<String> lines) {
}
}
- if (line != null) buffer.add('$line\n');
+ if (line != null) buffer.write('$line\n');
}
return buffer.toString();

Powered by Google App Engine
This is Rietveld 408576698