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
d666eb7
..
5a1c2c5
100644
(file)
--- 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–201
5
David Roden
+ * Sone - Post.java - Copyright © 2010–201
6
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
*
* 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 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) {