Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1287)

Unified Diff: sdk/lib/collection/queue.dart

Issue 26481002: Change the toString method of IterableBase/IterableMixin to show some elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/collection/list.dart ('k') | sdk/lib/core/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/queue.dart
diff --git a/sdk/lib/collection/queue.dart b/sdk/lib/collection/queue.dart
index 1cacd18c18fc158784ff2fd0692a4b06e3e8a80d..86035c5000f28950aebd3ee43c3f8e859858887e 100644
--- a/sdk/lib/collection/queue.dart
+++ b/sdk/lib/collection/queue.dart
@@ -297,9 +297,6 @@ class DoubleLinkedQueue<E> extends IterableBase<E> implements Queue<E> {
_DoubleLinkedQueueIterator<E> get iterator {
return new _DoubleLinkedQueueIterator<E>(_sentinel);
}
-
- // TODO(zarah) Remove this, and let it be inherited by IterableBase
- String toString() => IterableMixinWorkaround.toStringIterable(this, '{', '}');
}
class _DoubleLinkedQueueIterator<E> implements Iterator<E> {
@@ -526,9 +523,6 @@ class ListQueue<E> extends IterableBase<E> implements Queue<E> {
}
}
- // TODO(zarah) Remove this, and let it be inherited by IterableBase
- String toString() => IterableMixinWorkaround.toStringIterable(this, '{', '}');
-
// Queue interface.
void addLast(E element) { _add(element); }
« no previous file with comments | « sdk/lib/collection/list.dart ('k') | sdk/lib/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698