Index: sdk/lib/core/iterable.dart |
diff --git a/sdk/lib/core/iterable.dart b/sdk/lib/core/iterable.dart |
index c6e09a15e6491de84c30d311269f7937a5e91f4d..8b276c076080bd7e208c3e8de1f21ea7ab287ec3 100644 |
--- a/sdk/lib/core/iterable.dart |
+++ b/sdk/lib/core/iterable.dart |
@@ -133,13 +133,13 @@ abstract class Iterable<E> { |
StringBuffer buffer = new StringBuffer(); |
if (separator == null || separator == "") { |
do { |
- buffer.add("${iterator.current}"); |
+ buffer.write("${iterator.current}"); |
} while (iterator.moveNext()); |
} else { |
- buffer.add("${iterator.current}"); |
+ buffer.write("${iterator.current}"); |
while (iterator.moveNext()) { |
- buffer.add(separator); |
- buffer.add("${iterator.current}"); |
+ buffer.write(separator); |
+ buffer.write("${iterator.current}"); |
} |
} |
return buffer.toString(); |