Index: lib/src/delegate/sink.dart |
diff --git a/lib/src/delegate/sink.dart b/lib/src/delegate/sink.dart |
index 326c15bdb649fe07a45e99e9984831498e60d6eb..7c68a0fbc65f070f7f21556b7b8cda017f54e5cd 100644 |
--- a/lib/src/delegate/sink.dart |
+++ b/lib/src/delegate/sink.dart |
@@ -20,8 +20,8 @@ class DelegatingSink<T> implements Sink<T> { |
/// instance of `Sink`, not `Sink<T>`. This means that calls to [add] may |
/// throw a [CastError] if the argument type doesn't match the reified type of |
/// [sink]. |
- static Sink/*<T>*/ typed/*<T>*/(Sink sink) => |
- sink is Sink/*<T>*/ ? sink : new DelegatingSink._(sink); |
+ static Sink<T> typed<T>(Sink sink) => |
+ sink is Sink<T> ? sink : new DelegatingSink._(sink); |
void add(T data) { |
_sink.add(data); |