Index: sdk/lib/core/string_buffer.dart |
diff --git a/sdk/lib/core/string_buffer.dart b/sdk/lib/core/string_buffer.dart |
index 6ecdc571d985d6a4bb5ff192213c99a96b0112f5..8ea4bf1f5c8bacdf5f87d13476ca00702c60cee4 100644 |
--- a/sdk/lib/core/string_buffer.dart |
+++ b/sdk/lib/core/string_buffer.dart |
@@ -32,7 +32,7 @@ class StringBuffer implements StringSink { |
void writeAll(Iterable objects, [String separator = ""]) { |
Iterator iterator = objects.iterator; |
if (!iterator.moveNext()) return; |
- if (separator == "") { |
+ if (separator.isEmpty) { |
do { |
write(iterator.current); |
} while (iterator.moveNext()); |