| Index: sdk/lib/core/collection.dart
|
| diff --git a/sdk/lib/core/collection.dart b/sdk/lib/core/collection.dart
|
| index 7222b06990e43511db361ee712df98393db6d8b7..0f772d83ed000f578194ed245df8878a78cc16f1 100644
|
| --- a/sdk/lib/core/collection.dart
|
| +++ b/sdk/lib/core/collection.dart
|
| @@ -72,8 +72,8 @@ abstract class Collection<E> extends Iterable<E> {
|
| *
|
| * An elements [:e:] satisfies [test] if [:test(e):] is true.
|
| */
|
| - void removeMatching(bool test(E element)) {
|
| - IterableMixinWorkaround.removeMatching(this, test);
|
| + void removeWhere(bool test(E element)) {
|
| + IterableMixinWorkaround.removeWhere(this, test);
|
| }
|
|
|
| /**
|
| @@ -81,14 +81,14 @@ abstract class Collection<E> extends Iterable<E> {
|
| *
|
| * An elements [:e:] satisfies [test] if [:test(e):] is true.
|
| */
|
| - void retainMatching(bool test(E element)) {
|
| - IterableMixinWorkaround.retainMatching(this, test);
|
| + void retainWhere(bool test(E element)) {
|
| + IterableMixinWorkaround.retainWhere(this, test);
|
| }
|
|
|
| /**
|
| * Removes all elements of this collection.
|
| */
|
| void clear() {
|
| - IterableMixinWorkaround.removeMatching(this, (E e) => true);
|
| + IterableMixinWorkaround.removeWhere(this, (E e) => true);
|
| }
|
| }
|
|
|