Index: sdk/lib/_collection_dev/list.dart |
diff --git a/sdk/lib/_collection_dev/list.dart b/sdk/lib/_collection_dev/list.dart |
index 9685fda673a1ecf8d6ce2203af4342eb4bfce38b..62bc51fb8c08b6738e46404ee0f9b106a4c4fa42 100644 |
--- a/sdk/lib/_collection_dev/list.dart |
+++ b/sdk/lib/_collection_dev/list.dart |
@@ -110,12 +110,12 @@ abstract class FixedLengthListBase<E> extends ListBase<E> { |
"Cannot remove from a fixed-length list"); |
} |
- void removeMatching(bool test(E element)) { |
+ void removeWhere(bool test(E element)) { |
throw new UnsupportedError( |
"Cannot remove from a fixed-length list"); |
} |
- void retainMatching(bool test(E element)) { |
+ void retainWhere(bool test(E element)) { |
throw new UnsupportedError( |
"Cannot remove from a fixed-length list"); |
} |
@@ -191,12 +191,12 @@ abstract class UnmodifiableListBase<E> extends ListBase<E> { |
"Cannot remove from an unmodifiable list"); |
} |
- void removeMatching(bool test(E element)) { |
+ void removeWhere(bool test(E element)) { |
throw new UnsupportedError( |
"Cannot remove from an unmodifiable list"); |
} |
- void retainMatching(bool test(E element)) { |
+ void retainWhere(bool test(E element)) { |
throw new UnsupportedError( |
"Cannot remove from an unmodifiable list"); |
} |