Make user comparable

This commit is contained in:
Yohan Simard 2020-12-02 10:51:23 +01:00
parent 1a5a62f11f
commit ef8fd4d00c

View file

@ -26,4 +26,8 @@ public class User implements Serializable {
}
@Override
public int compareTo(@NotNull User o) {
return username.compareTo(o.username);
}
}