From c91fea6d7c7ffaad735eac1d27646967568f7e01 Mon Sep 17 00:00:00 2001 From: Nicklas Ansman Giertz Date: Tue, 27 Jun 2017 21:29:59 +0200 Subject: [PATCH] Remove the @NonNull annotation from Function As per per the discussion in #5447 --- src/main/java/io/reactivex/functions/Function.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/io/reactivex/functions/Function.java b/src/main/java/io/reactivex/functions/Function.java index 2aece7dc1b..7c6d095314 100644 --- a/src/main/java/io/reactivex/functions/Function.java +++ b/src/main/java/io/reactivex/functions/Function.java @@ -29,6 +29,5 @@ public interface Function { * @return the output value * @throws Exception on error */ - @NonNull R apply(@NonNull T t) throws Exception; }