Skip to content

Commit ce45fc2

Browse files
authored
Fix missing nullability on Single.subscribe(BiConsumer) (#7331)
1 parent b476914 commit ce45fc2

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

+1-1
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)