Index: sdk/lib/io/io_sink.dart |
diff --git a/sdk/lib/io/io_sink.dart b/sdk/lib/io/io_sink.dart |
index 4ee7b4fbb63b123ee3cba197f821e69e467ec973..685024cd09715f2e00d026502865cae1b76c73cb 100644 |
--- a/sdk/lib/io/io_sink.dart |
+++ b/sdk/lib/io/io_sink.dart |
@@ -106,7 +106,7 @@ class _IOSinkImpl<T> implements IOSink<T> { |
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()); |