Skip to content

Commit

Permalink
Remove @nonnull annotation in Consumer method parameter (#5447)
Browse files Browse the repository at this point in the history
This fixes #5442
  • Loading branch information
ansman authored and akarnokd committed Jun 27, 2017
1 parent 3656b9b commit 4c19753
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/io/reactivex/functions/Consumer.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

package io.reactivex.functions;

import io.reactivex.annotations.NonNull;

/**
* A functional interface (callback) that accepts a single value.
* @param <T> the value type
Expand All @@ -25,5 +23,5 @@ public interface Consumer<T> {
* @param t the value
* @throws Exception on error
*/
void accept(@NonNull T t) throws Exception;
void accept(T t) throws Exception;
}

0 comments on commit 4c19753

Please sign in to comment.