Make compare right. (#1899)
This commit is contained in:
parent
513c1b86c6
commit
83e0e5758f
|
|
@ -37,7 +37,7 @@ public class RemoteInstance implements Comparable<RemoteInstance> {
|
|||
}
|
||||
|
||||
@Override public int compareTo(RemoteInstance o) {
|
||||
return toString().compareTo(toString());
|
||||
return toString().compareTo(o.toString());
|
||||
}
|
||||
|
||||
@Override public String toString() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue