From 9d47ddbac6b14aed85b09d482d3db9a17126d859 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 22 Feb 2020 23:13:03 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=94=A5=20Remove=20HAS=5FPOST=5FFILTER=20fr?= =?utf8?q?om=20post=20reply=20interface?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/data/PostReply.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/data/PostReply.java b/src/main/java/net/pterodactylus/sone/data/PostReply.java index f5ffea3..6db3876 100644 --- a/src/main/java/net/pterodactylus/sone/data/PostReply.java +++ b/src/main/java/net/pterodactylus/sone/data/PostReply.java @@ -18,7 +18,6 @@ package net.pterodactylus.sone.data; import com.google.common.base.Optional; -import com.google.common.base.Predicate; /** * A reply is like a {@link Post} but can never be posted on its own, it always @@ -27,18 +26,6 @@ import com.google.common.base.Predicate; public interface PostReply extends Reply { /** - * Filter that selects {@link PostReply}s that have a - * {@link Optional#isPresent() present} {@link #getPost() post}. - */ - public static final Predicate HAS_POST_FILTER = new Predicate() { - - @Override - public boolean apply(PostReply postReply) { - return (postReply != null) && postReply.getPost().isPresent(); - } - }; - - /** * Returns the ID of the post this reply refers to. * * @return The ID of the post this reply refers to -- 2.7.4