Skip to content

Commit 4c19753

Browse files
ansmanakarnokd
authored andcommitted
Remove @nonnull annotation in Consumer method parameter (#5447)
This fixes #5442
1 parent 3656b9b commit 4c19753

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/io/reactivex/functions/Consumer.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
package io.reactivex.functions;
1515

16-
import io.reactivex.annotations.NonNull;
17-
1816
/**
1917
* A functional interface (callback) that accepts a single value.
2018
* @param <T> the value type
@@ -25,5 +23,5 @@ public interface Consumer<T> {
2523
* @param t the value
2624
* @throws Exception on error
2725
*/
28-
void accept(@NonNull T t) throws Exception;
26+
void accept(T t) throws Exception;
2927
}

0 commit comments

Comments
 (0)