| Index: sdk/lib/io/common.dart
|
| diff --git a/sdk/lib/io/common.dart b/sdk/lib/io/common.dart
|
| index 5ef4594af844d2e5b78e99f5c3ea0a062149c398..ae9cd1256f139c88f592b202cbf9e0cd9d253781 100644
|
| --- a/sdk/lib/io/common.dart
|
| +++ b/sdk/lib/io/common.dart
|
| @@ -29,7 +29,7 @@ _exceptionFromResponse(response, String message, String path) {
|
| return new ArgumentError("$message: $path");
|
| case _OSERROR_RESPONSE:
|
| var err = new OSError(response[_OSERROR_RESPONSE_MESSAGE],
|
| - response[_OSERROR_RESPONSE_ERROR_CODE]);
|
| + response[_OSERROR_RESPONSE_ERROR_CODE]);
|
| return new FileSystemException(message, path, err);
|
| case _FILE_CLOSED_RESPONSE:
|
| return new FileSystemException("File closed", path);
|
| @@ -73,21 +73,17 @@ class OSError {
|
| StringBuffer sb = new StringBuffer();
|
| sb.write("OS Error");
|
| if (!message.isEmpty) {
|
| - sb..write(": ")
|
| - ..write(message);
|
| + sb..write(": ")..write(message);
|
| if (errorCode != noErrorCode) {
|
| - sb..write(", errno = ")
|
| - ..write(errorCode.toString());
|
| + sb..write(", errno = ")..write(errorCode.toString());
|
| }
|
| } else if (errorCode != noErrorCode) {
|
| - sb..write(": errno = ")
|
| - ..write(errorCode.toString());
|
| + sb..write(": errno = ")..write(errorCode.toString());
|
| }
|
| return sb.toString();
|
| }
|
| }
|
|
|
| -
|
| // Object for holding a buffer and an offset.
|
| class _BufferAndStart {
|
| List<int> buffer;
|
| @@ -118,7 +114,6 @@ _BufferAndStart _ensureFastAndSerializableByteData(
|
| return new _BufferAndStart(newBuffer, 0);
|
| }
|
|
|
| -
|
| class _IOCrypto {
|
| external static Uint8List getRandomBytes(int count);
|
| }
|
|
|