Chromium Code Reviews

Unified Diff: sdk/lib/collection/collections.dart

Issue 12212213: Remove deprecated mappedBy. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bad merge. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « sdk/lib/async/stream.dart ('k') | sdk/lib/core/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/collections.dart
diff --git a/sdk/lib/collection/collections.dart b/sdk/lib/collection/collections.dart
index 06aa7677c73b96bd51a0f7e5d5a770ccd6e690a2..fc27c9158e9ff44236737fdcf145722a37a1ad4d 100644
--- a/sdk/lib/collection/collections.dart
+++ b/sdk/lib/collection/collections.dart
@@ -321,11 +321,6 @@ class IterableMixinWorkaround {
return new MappedListIterable(list, f);
}
- static List mappedByList(List list, f(var element)) {
- // This is currently a List as well as an Iterable.
- return new MappedList(list, f);
- }
-
static Iterable expand(Iterable iterable, Iterable f(var element)) {
return new ExpandIterable(iterable, f);
}
@@ -474,11 +469,6 @@ class Collections {
/** Deprecated. Use the same method in [IterableMixinWorkaround] instead.*/
@deprecated
- static List mappedByList(List list, f(var element))
- => IterableMixinWorkaround.mappedByList(list, f);
-
- /** Deprecated. Use the same method in [IterableMixinWorkaround] instead.*/
- @deprecated
static Iterable takeList(List list, int n)
=> IterableMixinWorkaround.takeList(list, n);
« no previous file with comments | « sdk/lib/async/stream.dart ('k') | sdk/lib/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine