🎨 Replace FUTURE_POSTS_FILTER with Kotlin version
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Post.java
index a4a794e..9914185 100644 (file)
@@ -22,7 +22,6 @@ import static com.google.common.base.Optional.absent;
 import java.util.Comparator;
 
 import com.google.common.base.Optional;
-import com.google.common.base.Predicate;
 
 /**
  * A post is a short message that a user writes in his Sone to let other users
@@ -40,16 +39,6 @@ public interface Post extends Identified {
 
        };
 
-       /** Filter for posts with timestamps from the future. */
-       public static final Predicate<Post> FUTURE_POSTS_FILTER = new Predicate<Post>() {
-
-               @Override
-               public boolean apply(Post post) {
-                       return (post != null) && (post.getTime() <= System.currentTimeMillis());
-               }
-
-       };
-
        //
        // ACCESSORS
        //