Skip to content

Commit f4bd3df

Browse files
Generic covariance of concat.
See ReactiveX#360 (comment)
1 parent 574efe5 commit f4bd3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava-core/src/main/java/rx/Observable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ public static <T> Observable<T> merge(Observable<? extends T> t1, Observable<? e
11991199
* the {@code source} Observables, one after the other
12001200
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.concat(v=vs.103).aspx">MSDN: Observable.Concat Method</a>
12011201
*/
1202-
public static <T> Observable<T> concat(Observable<Observable<T>> observables) {
1202+
public static <T> Observable<T> concat(Observable<? extends Observable<? extends T>> observables) {
12031203
return create(OperationConcat.concat(observables));
12041204
}
12051205

0 commit comments

Comments
 (0)