Index: runtime/lib/array.dart |
diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart |
index 3a2ca485d551e1d886f26de2768de933dd0e938f..9df153d9f11eff082f636123239ae2ad48bac89a 100644 |
--- a/runtime/lib/array.dart |
+++ b/runtime/lib/array.dart |
@@ -59,9 +59,9 @@ class _ObjectArray<E> implements List<E> { |
return list; |
} |
- // Collection interface. |
- |
- bool contains(E element) => Collections.contains(this, element); |
+ /** |
+ * Collection interface. |
+ */ |
void forEach(f(E element)) { |
Collections.forEach(this, f); |
@@ -201,9 +201,9 @@ class _ImmutableArray<E> implements List<E> { |
return list; |
} |
- // Collection interface. |
- |
- bool contains(E element) => Collections.contains(this, element); |
+ /** |
+ * Collection interface. |
+ */ |
void forEach(f(E element)) { |
Collections.forEach(this, f); |