| Index: sdk/lib/io/directory.dart
|
| diff --git a/sdk/lib/io/directory.dart b/sdk/lib/io/directory.dart
|
| index fd7067464c405b93c5a818ccb212a373f6a20018..cf9ae48487f727c8fc12578447a84a6dff786e59 100644
|
| --- a/sdk/lib/io/directory.dart
|
| +++ b/sdk/lib/io/directory.dart
|
| @@ -166,19 +166,19 @@ class DirectoryIOException implements Exception {
|
| OSError this.osError = null]);
|
| String toString() {
|
| StringBuffer sb = new StringBuffer();
|
| - sb.add("DirectoryIOException");
|
| + sb.write("DirectoryIOException");
|
| if (!message.isEmpty) {
|
| - sb.add(": $message");
|
| + sb.write(": $message");
|
| if (path != null) {
|
| - sb.add(", path = $path");
|
| + sb.write(", path = $path");
|
| }
|
| if (osError != null) {
|
| - sb.add(" ($osError)");
|
| + sb.write(" ($osError)");
|
| }
|
| } else if (osError != null) {
|
| - sb.add(": $osError");
|
| + sb.write(": $osError");
|
| if (path != null) {
|
| - sb.add(", path = $path");
|
| + sb.write(", path = $path");
|
| }
|
| }
|
| return sb.toString();
|
|
|