Chromium Code Reviews| Index: sdk/lib/collection/queue.dart |
| diff --git a/sdk/lib/collection/queue.dart b/sdk/lib/collection/queue.dart |
| index 7bc65cab6fe5a63e7da2e3ae1881d748b6025f0d..648e9a6c868289acf4f37f8095d0f249b7f9d06d 100644 |
| --- a/sdk/lib/collection/queue.dart |
| +++ b/sdk/lib/collection/queue.dart |
| @@ -300,10 +300,9 @@ class DoubleLinkedQueue<E> extends IterableBase<E> implements Queue<E> { |
| _DoubleLinkedQueueIterator<E> get iterator { |
| return new _DoubleLinkedQueueIterator<E>(_sentinel); |
| } |
| - |
| - String toString() { |
| - return ToString.iterableToString(this); |
| - } |
| + |
| + //TODO Remove this, and let it be inherited by IterableBase |
|
floitsch
2013/07/08 16:12:34
ditto.
zarah
2013/07/08 16:57:46
Done.
|
| + String toString() => IterableMixinWorkaround.toStringIterable(this); |
| } |
| class _DoubleLinkedQueueIterator<E> implements Iterator<E> { |
| @@ -529,10 +528,9 @@ class ListQueue<E> extends IterableBase<E> implements Queue<E> { |
| _modificationCount++; |
| } |
| } |
| - |
| - String toString() { |
| - return ToString.iterableToString(this); |
| - } |
| + |
| + //TODO Remove this, and let it be inherited by IterableBase |
|
floitsch
2013/07/08 16:12:34
ditto.
zarah
2013/07/08 16:57:46
Done.
|
| + String toString() => IterableMixinWorkaround.toStringIterable(this); |
| // Queue interface. |