Index: sdk/lib/async/stream.dart |
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart |
index 8074170946b6a30c78d5269bf389be7bb926279e..3911b674b26759c78a6a9dfac99c488a4f0dffb8 100644 |
--- a/sdk/lib/async/stream.dart |
+++ b/sdk/lib/async/stream.dart |
@@ -129,18 +129,11 @@ abstract class Stream<T> { |
* Create a new stream that converts each element of this stream |
* to a new value using the [convert] function. |
*/ |
- Stream map(convert(T event)) { |
+ Stream mappedBy(convert(T event)) { |
return new _MapStream<T, dynamic>(this, convert); |
} |
/** |
- * Deprecated alias for [map]. |
- * |
- * @deprecated |
- */ |
- Stream mappedBy(f(E element)) => map(f); |
- |
- /** |
* Create a wrapper Stream that intercepts some errors from this stream. |
* |
* If this stream sends an error that matches [test], then it is intercepted |