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

Unified Diff: runtime/lib/growable_array.dart

Issue 11410086: Use iterator, moveNext(), current. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Address comments. Created 8 years, 1 month 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: runtime/lib/growable_array.dart
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart
index af72b8b1ebb3ae2419a5a84185a2425bda060eca..0bdad990712eeb9352513ba1f290a0229b9a367f 100644
--- a/runtime/lib/growable_array.dart
+++ b/runtime/lib/growable_array.dart
@@ -215,7 +215,5 @@ class _GrowableObjectArray<T> implements List<T> {
return Collections.collectionToString(this);
}
- Iterator<T> iterator() {
- return new SequenceIterator<T>(this);
- }
+ Iterator<T> get iterator => new SequenceIterator<T>(this);
Ivan Posva 2012/11/26 18:20:13 ditto
floitsch 2012/11/28 13:44:34 Done.
}

Powered by Google App Engine
This is Rietveld 408576698