Commit 13ce22ab by lepdou

update

parent e2f3bcd2
......@@ -46,16 +46,14 @@ public class Cluster extends BaseEntity implements Comparable<Cluster> {
@Override
public int compareTo(Cluster o) {
if (o == null) {
if (o == null || getId() > o.getId()) {
return 1;
}
if (getId() > o.getId()) {
return 1;
}
if (getId() == o.getId()) {
return 0;
}
return -1;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment