Merge branch 'development' into various-fixes

This commit is contained in:
Jeroen Ketelaar authored and GitHub committed 2018-09-23 12:10:13 -05:00
commit 3f66d11bd9
1 file changed
+4 -1
@@ -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());
}