projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unit test for Sone accessor
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Post.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Post.java
b/src/main/java/net/pterodactylus/sone/data/Post.java
index
990e20d
..
5a1c2c5
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Post.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Post.java
@@
-33,7
+33,7
@@
import com.google.common.base.Predicate;
public interface Post extends Identified {
/** Comparator for posts, sorts descending by time. */
public interface Post extends Identified {
/** Comparator for posts, sorts descending by time. */
- public static final Comparator<Post>
TIME_COMPARATOR
= new Comparator<Post>() {
+ public static final Comparator<Post>
NEWEST_FIRST
= new Comparator<Post>() {
@Override
public int compare(Post leftPost, Post rightPost) {
@Override
public int compare(Post leftPost, Post rightPost) {