/*
- * 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
/**
* 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 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) {
/**
* 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 {