Skip to content

Commit 1e42ea2

Browse files
committed
Fix missing nullability on Single.subscribe(BiConsumer)
1 parent b476914 commit 1e42ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/rxjava3/core/Single.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4735,7 +4735,7 @@ public final Disposable subscribe() {
47354735
@CheckReturnValue
47364736
@NonNull
47374737
@SchedulerSupport(SchedulerSupport.NONE)
4738-
public final Disposable subscribe(@NonNull BiConsumer<? super T, ? super Throwable> onCallback) {
4738+
public final Disposable subscribe(@NonNull BiConsumer<@Nullable ? super T, @Nullable ? super Throwable> onCallback) {
47394739
Objects.requireNonNull(onCallback, "onCallback is null");
47404740

47414741
BiConsumerSingleObserver<T> observer = new BiConsumerSingleObserver<>(onCallback);

0 commit comments

Comments
 (0)