@@ -1886,12 +1886,13 @@ public static <T> Flowable<T> fromFuture(Future<? extends T> future, long timeou
18861886 * @return a Flowable that emits the item from the source {@link Future}
18871887 * @see <a href="http://reactivex.io/documentation/operators/from.html">ReactiveX operators documentation: From</a>
18881888 */
1889+ @SuppressWarnings({ "unchecked", "cast" })
18891890 @CheckReturnValue
18901891 @BackpressureSupport(BackpressureKind.FULL)
18911892 @SchedulerSupport(SchedulerSupport.CUSTOM)
18921893 public static <T> Flowable<T> fromFuture(Future<? extends T> future, long timeout, TimeUnit unit, Scheduler scheduler) {
18931894 ObjectHelper.requireNonNull(scheduler, "scheduler is null");
1894- return fromFuture(future, timeout, unit).subscribeOn(scheduler);
1895+ return fromFuture((Future<T>) future, timeout, unit).subscribeOn(scheduler);
18951896 }
18961897
18971898 /**
@@ -1923,12 +1924,13 @@ public static <T> Flowable<T> fromFuture(Future<? extends T> future, long timeou
19231924 * @return a Flowable that emits the item from the source {@link Future}
19241925 * @see <a href="http://reactivex.io/documentation/operators/from.html">ReactiveX operators documentation: From</a>
19251926 */
1927+ @SuppressWarnings({ "cast", "unchecked" })
19261928 @CheckReturnValue
19271929 @BackpressureSupport(BackpressureKind.FULL)
19281930 @SchedulerSupport(SchedulerSupport.CUSTOM)
19291931 public static <T> Flowable<T> fromFuture(Future<? extends T> future, Scheduler scheduler) {
19301932 ObjectHelper.requireNonNull(scheduler, "scheduler is null");
1931- return fromFuture(future).subscribeOn(scheduler);
1933+ return fromFuture((Future<T>) future).subscribeOn(scheduler);
19321934 }
19331935
19341936 /**
@@ -4145,13 +4147,14 @@ public static <T, R> Flowable<R> zip(Iterable<? extends Publisher<? extends T>>
41454147 * @return a Flowable that emits the zipped results
41464148 * @see <a href="http://reactivex.io/documentation/operators/zip.html">ReactiveX operators documentation: Zip</a>
41474149 */
4150+ @SuppressWarnings({ "rawtypes", "unchecked", "cast" })
41484151 @CheckReturnValue
41494152 @BackpressureSupport(BackpressureKind.FULL)
41504153 @SchedulerSupport(SchedulerSupport.NONE)
41514154 public static <T, R> Flowable<R> zip(Publisher<? extends Publisher<? extends T>> sources,
41524155 final Function<? super Object[], ? extends R> zipper) {
41534156 ObjectHelper.requireNonNull(zipper, "zipper is null");
4154- return fromPublisher(sources).toList().flatMapPublisher(FlowableInternalHelper.<T, R>zipIterable(zipper));
4157+ return fromPublisher(sources).toList().flatMapPublisher((Function) FlowableInternalHelper.<T, R>zipIterable(zipper));
41554158 }
41564159
41574160 /**
0 commit comments