Merge branch 'development' into various-fixes

This commit is contained in:
Jeroen Ketelaar
2018-09-23 12:10:13 -05:00
committed by GitHub
@@ -39,7 +39,10 @@ public class ServerDescription implements Comparable<ServerDescription> {
@Override
public int compareTo(ServerDescription o) {
if (this.getServerName().equalsIgnoreCase(o.getServerName())) {
return 1;
if (getAuthor().equals(o.getAuthor())) {
return Double.compare(o.getRevision(), getRevision());
}
return getAuthor().compareTo(o.getAuthor());
}
return this.getServerName().compareTo(o.getServerName());
}