projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused classes
[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
95abae6
..
b6648e2
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
3
David Roden
+ * Sone - Post.java - Copyright © 2010–201
9
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
@@
-27,13
+27,11
@@
import com.google.common.base.Predicate;
/**
* A post is a short message that a user writes in his Sone to let other users
* know what is going on.
/**
* A post is a short message that a user writes in his Sone to let other users
* know what is going on.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
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) {
@@
-126,9
+124,6
@@
public interface Post extends Identified {
/**
* Shell for a post that has not yet been loaded.
/**
* Shell for a post that has not yet been loaded.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’
- * Roden</a>
*/
public static class EmptyPost implements Post {
*/
public static class EmptyPost implements Post {