Skip to content

Commit 83d1a4f

Browse files
bloderxdakarnokd
authored andcommitted
Remove @nonnull annotations in BiConsumer (#5257)
1 parent fa58d36 commit 83d1a4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
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 two values (of possibly different types).
2018
* @param <T1> the first value type
@@ -28,5 +26,5 @@ public interface BiConsumer<T1, T2> {
2826
* @param t2 the second value
2927
* @throws Exception on error
3028
*/
31-
void accept(@NonNull T1 t1, @NonNull T2 t2) throws Exception;
29+
void accept(T1 t1, T2 t2) throws Exception;
3230
}

0 commit comments

Comments
 (0)