diff --git a/src/main/java/io/reactivex/functions/Consumer.java b/src/main/java/io/reactivex/functions/Consumer.java index deb4ae8047..ff10bbb244 100644 --- a/src/main/java/io/reactivex/functions/Consumer.java +++ b/src/main/java/io/reactivex/functions/Consumer.java @@ -13,8 +13,6 @@ package io.reactivex.functions; -import io.reactivex.annotations.NonNull; - /** * A functional interface (callback) that accepts a single value. * @param the value type @@ -25,5 +23,5 @@ public interface Consumer { * @param t the value * @throws Exception on error */ - void accept(@NonNull T t) throws Exception; + void accept(T t) throws Exception; }