Skip to content

Commit 4a665c9

Browse files
pahakorolevPavel Korolev
and
Pavel Korolev
authored
Remove @nonnull annotations for functions with void return type (#7425)
Co-authored-by: Pavel Korolev <[email protected]>
1 parent 23c9f4d commit 4a665c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5520,7 +5520,6 @@ public final T blockingFirst(@NonNull T defaultItem) {
55205520
* @see #blockingForEach(Consumer, int)
55215521
*/
55225522
@SchedulerSupport(SchedulerSupport.NONE)
5523-
@NonNull
55245523
public final void blockingForEach(@NonNull Consumer<? super T> onNext) {
55255524
blockingForEach(onNext, bufferSize());
55265525
}
@@ -5560,7 +5559,6 @@ public final void blockingForEach(@NonNull Consumer<? super T> onNext) {
55605559
* @see #subscribe(Consumer)
55615560
*/
55625561
@SchedulerSupport(SchedulerSupport.NONE)
5563-
@NonNull
55645562
public final void blockingForEach(@NonNull Consumer<? super T> onNext, int capacityHint) {
55655563
Objects.requireNonNull(onNext, "onNext is null");
55665564
Iterator<T> it = blockingIterable(capacityHint).iterator();
@@ -12036,7 +12034,6 @@ public final Observable<T> retryWhen(
1203612034
* @throws NullPointerException if {@code observer} is {@code null}
1203712035
*/
1203812036
@SchedulerSupport(SchedulerSupport.NONE)
12039-
@NonNull
1204012037
public final void safeSubscribe(@NonNull Observer<? super T> observer) {
1204112038
Objects.requireNonNull(observer, "observer is null");
1204212039
if (observer instanceof SafeObserver) {

0 commit comments

Comments
 (0)