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=d666eb755b2b54d1aaa69ca1a1296c8a29fe48db;hb=7b55e0be6a3283e43a9bbab98f82aebdd948eb33;hpb=419098bcd6215125408b29e60bd888e60979d37b diff --git a/src/main/java/net/pterodactylus/sone/data/Post.java b/src/main/java/net/pterodactylus/sone/data/Post.java index d666eb7..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–2015 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) {