Skip to content

Commit 61af0c0

Browse files
alexandre-duboisakarnokd
authored andcommitted
Added missing @nonnull attribute to Function7. (#5102)
1 parent 6daf59e commit 61af0c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
package io.reactivex.functions;
1515

16+
import io.reactivex.annotations.NonNull;
17+
1618
/**
1719
* A functional interface (callback) that computes a value based on multiple input values.
1820
* @param <T1> the first value type
@@ -37,5 +39,6 @@ public interface Function7<T1, T2, T3, T4, T5, T6, T7, R> {
3739
* @return the result value
3840
* @throws Exception on error
3941
*/
40-
R apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) throws Exception;
42+
@NonNull
43+
R apply(@NonNull T1 t1, @NonNull T2 t2, @NonNull T3 t3, @NonNull T4 t4, @NonNull T5 t5, @NonNull T6 t6, @NonNull T7 t7) throws Exception;
4144
}

0 commit comments

Comments
 (0)