diff options
author | Christian Williams <christianw@google.com> | 2017-12-08 16:44:14 -0800 |
---|---|---|
committer | Christian Williams <christianw@google.com> | 2017-12-08 16:44:37 -0800 |
commit | c82643f3926640b87d7f20def74f38bfd4593c65 (patch) | |
tree | 7754636a4fdf9462e00710a40cb366fb6e1dcdff /utils | |
parent | 87f812a1d250e6fb3d901ce692d210289066dce5 (diff) | |
download | robolectric-shadows-c82643f3926640b87d7f20def74f38bfd4593c65.tar.gz |
Remove reference to FunctionalInterface.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/main/java/org/robolectric/util/Consumer.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/src/main/java/org/robolectric/util/Consumer.java b/utils/src/main/java/org/robolectric/util/Consumer.java index 200e872ae..4b8a2b34e 100644 --- a/utils/src/main/java/org/robolectric/util/Consumer.java +++ b/utils/src/main/java/org/robolectric/util/Consumer.java @@ -11,7 +11,6 @@ import java.util.Objects; * * @param <T> the type of the input to the operation */ -@FunctionalInterface public interface Consumer<T> { /** @@ -32,7 +31,7 @@ public interface Consumer<T> { * {@code after} operation * @throws NullPointerException if {@code after} is null */ - default java.util.function.Consumer<T> andThen(java.util.function.Consumer<? super T> after) { + default Consumer<T> andThen(Consumer<? super T> after) { Objects.requireNonNull(after); return (T t) -> { accept(t); |