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

Unified Diff: pkg/scheduled_test/lib/src/schedule.dart

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: pkg/scheduled_test/lib/src/schedule.dart
diff --git a/pkg/scheduled_test/lib/src/schedule.dart b/pkg/scheduled_test/lib/src/schedule.dart
index be49383f1a2fe0578000e86b383fd0e9f4c6ec0e..2569b4bd9efebd4b70f2e7bf4a4cfc4035c051d3 100644
--- a/pkg/scheduled_test/lib/src/schedule.dart
+++ b/pkg/scheduled_test/lib/src/schedule.dart
@@ -348,7 +348,7 @@ class ScheduleState {
class TaskQueue {
// TODO(nweiz): make this a read-only view when issue 8321 is fixed.
/// The tasks in the queue.
- Collection<Task> get contents => _contents;
+ Iterable<Task> get contents => _contents;
final _contents = new Queue<Task>();
/// The name of the queue, for debugging purposes.
@@ -380,7 +380,7 @@ class TaskQueue {
// TODO(nweiz): make this a read-only view when issue 8321 is fixed.
/// The descriptions of all callbacks that are blocking the completion of
/// [this].
- Collection<String> get pendingCallbacks => _pendingCallbacks;
+ Iterable<String> get pendingCallbacks => _pendingCallbacks;
final _pendingCallbacks = new Queue<String>();
/// A completer that will be completed once [_pendingCallbacks] becomes empty
« no previous file with comments | « pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart ('k') | pkg/scheduled_test/lib/src/schedule_error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698