X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FPost.java;h=5a1c2c5a5b2e0c1728de23fe521b83fd6bfd2c55;hp=95abae6fa083f6669cfee9adbfdc1ab8c29c6a3f;hb=7b55e0be6a3283e43a9bbab98f82aebdd948eb33;hpb=0e8f7804ce344bdd69f5ecc7febe25a60a53561d diff --git a/src/main/java/net/pterodactylus/sone/data/Post.java b/src/main/java/net/pterodactylus/sone/data/Post.java index 95abae6..5a1c2c5 100644 --- a/src/main/java/net/pterodactylus/sone/data/Post.java +++ b/src/main/java/net/pterodactylus/sone/data/Post.java @@ -1,5 +1,5 @@ /* - * Sone - Post.java - Copyright © 2010–2013 David Roden + * Sone - Post.java - Copyright © 2010–2016 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ import com.google.common.base.Predicate; public interface Post extends Identified { /** Comparator for posts, sorts descending by time. */ - public static final Comparator TIME_COMPARATOR = new Comparator() { + public static final Comparator NEWEST_FIRST = new Comparator() { @Override public int compare(Post leftPost, Post rightPost) {