| Index: sdk/lib/io/socket_stream_impl.dart
|
| diff --git a/sdk/lib/io/socket_stream_impl.dart b/sdk/lib/io/socket_stream_impl.dart
|
| index c8799b1ba7da7cf9d22d21f7e669890ec83a09bd..a824ffd030f20769749d31f16b8aa9848f382420 100644
|
| --- a/sdk/lib/io/socket_stream_impl.dart
|
| +++ b/sdk/lib/io/socket_stream_impl.dart
|
| @@ -14,7 +14,7 @@ class _SocketInputStream implements InputStream {
|
|
|
| int readInto(List<int> buffer, [int offset = 0, int len]) {
|
| if (_closed) return null;
|
| - if (len === null) len = buffer.length;
|
| + if (len == null) len = buffer.length;
|
| if (offset < 0) throw new StreamException("Illegal offset $offset");
|
| if (len < 0) throw new StreamException("Illegal length $len");
|
| return _socket.readList(buffer, offset, len);
|
| @@ -49,7 +49,7 @@ class _SocketInputStream implements InputStream {
|
|
|
| void _onClosed() {
|
| _closed = true;
|
| - if (_clientCloseHandler !== null) {
|
| + if (_clientCloseHandler != null) {
|
| _clientCloseHandler();
|
| }
|
| }
|
|
|