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

Unified Diff: sdk/lib/io/base64.dart

Issue 12425004: Fix deprecation warnings in dart:io. Now completely warning free. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | sdk/lib/io/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/base64.dart
diff --git a/sdk/lib/io/base64.dart b/sdk/lib/io/base64.dart
index 12c1e5f8367a87f96a782162093ebc91a84b1b3c..1469c8d1190236ab62e0e1dbdee360d51ce38a7d 100644
--- a/sdk/lib/io/base64.dart
+++ b/sdk/lib/io/base64.dart
@@ -51,9 +51,9 @@ class _Base64 {
StringBuffer output = new StringBuffer();
for (i = 0; i < characters.length; i++) {
if (i > 0 && i % 76 == 0) {
- output.add("\r\n");
+ output.write("\r\n");
}
- output.add(characters[i]);
+ output.write(characters[i]);
}
return output.toString();
}
« no previous file with comments | « no previous file | sdk/lib/io/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698