Index: sdk/lib/core/iterable.dart |
diff --git a/sdk/lib/core/iterable.dart b/sdk/lib/core/iterable.dart |
index 0fda6f168210abd481b330fcab6e19f422e91fc1..dceed11be1502dd50354a70b2bd539b99d97c091 100644 |
--- a/sdk/lib/core/iterable.dart |
+++ b/sdk/lib/core/iterable.dart |
@@ -146,9 +146,9 @@ abstract class Iterable<E> { |
* Then concatenates the strings, optionally separated by the [separator] |
* string. |
*/ |
- String join([String separator]) { |
+ String join([String separator = ""]) { |
StringBuffer buffer = new StringBuffer(); |
- buffer.writeAll(this, separator == null ? "" : separator); |
+ buffer.writeAll(this, separator); |
return buffer.toString(); |
} |