Skip to content

Commit

Permalink
allow contravariant use of Subscriber
Browse files Browse the repository at this point in the history
fixes #104
  • Loading branch information
rkuhn committed Sep 2, 2014
1 parent 9e62ca4 commit d76e5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/org/reactivestreams/Publisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ public interface Publisher<T> {
*
* @param s the {@link Subscriber} that will consume signals from this {@link Publisher}
*/
public void subscribe(Subscriber<T> s);
public void subscribe(Subscriber<? super T> s);
}

0 comments on commit d76e5e4

Please sign in to comment.