Index: runtime/bin/buffer_list.dart |
diff --git a/runtime/bin/buffer_list.dart b/runtime/bin/buffer_list.dart |
index fd58ee2c95db3b502e5864f95891e82c7c01ab13..c8e98e908252a7e220474611ba1a80c7325b709b 100644 |
--- a/runtime/bin/buffer_list.dart |
+++ b/runtime/bin/buffer_list.dart |
@@ -17,7 +17,7 @@ class _BufferList { |
* buffer list is empty. |
*/ |
void add(List<int> buffer, [int offset = 0]) { |
- assert(offset == 0 || _buffers.isEmpty()); |
+ assert(offset == 0 || _buffers.isEmpty); |
_buffers.addLast(buffer); |
_length += buffer.length; |
if (offset != 0) _index = offset; |
@@ -135,7 +135,7 @@ class _BufferList { |
* Returns whether the buffer list is empty that is has no bytes |
* available. |
*/ |
- bool isEmpty() => _buffers.isEmpty(); |
+ bool get isEmpty => _buffers.isEmpty; |
/** |
* Clears the content of the buffer list. |