Skip to content

Commit

Permalink
Generic covariance of concat.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjchristensen committed Sep 10, 2013
1 parent 574efe5 commit f4bd3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rxjava-core/src/main/java/rx/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ public static <T> Observable<T> merge(Observable<? extends T> t1, Observable<? e
* the {@code source} Observables, one after the other
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.concat(v=vs.103).aspx">MSDN: Observable.Concat Method</a>
*/
public static <T> Observable<T> concat(Observable<Observable<T>> observables) {
public static <T> Observable<T> concat(Observable<? extends Observable<? extends T>> observables) {
return create(OperationConcat.concat(observables));
}

Expand Down

0 comments on commit f4bd3df

Please sign in to comment.