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

Unified Diff: sdk/lib/core/string_buffer.dart

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged to tip of bleeding_edge. Updated test expecteation Created 8 years, 1 month 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 | « sdk/lib/core/string.dart ('k') | sdk/lib/core/strings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/string_buffer.dart
diff --git a/sdk/lib/core/string_buffer.dart b/sdk/lib/core/string_buffer.dart
index 0561d83c217eaca346d937d0aab0d5aa038d3a44..0433d9fd429ea4427c045b218c5d654f13ce9d42 100644
--- a/sdk/lib/core/string_buffer.dart
+++ b/sdk/lib/core/string_buffer.dart
@@ -117,7 +117,7 @@ class _StringBufferImpl implements StringBuffer {
String toString() {
if (_buffer.length === 0) return "";
if (_buffer.length === 1) return _buffer[0];
- String result = _StringImpl.concatAll(_buffer);
+ String result = Strings.concatAll(_buffer);
_buffer.clear();
_buffer.add(result);
// Since we track the length at each add operation, there is no
« no previous file with comments | « sdk/lib/core/string.dart ('k') | sdk/lib/core/strings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698