diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2014-11-27 16:02:25 +0100 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2014-11-27 16:14:50 +0100 |
commit | 80ea5390e3c15d179188c48d0c0b3504cf657609 (patch) | |
tree | 5be6212371b369900eb9771fd60862576bddbb3a /test | |
parent | 32de2595ac51308df94043d8f99008d8cebe9915 (diff) | |
download | jitsi-80ea5390e3c15d179188c48d0c0b3504cf657609.zip jitsi-80ea5390e3c15d179188c48d0c0b3504cf657609.tar.gz jitsi-80ea5390e3c15d179188c48d0c0b3504cf657609.tar.bz2 |
Remove most pre-sorting in the history service to avoid eliminations.
The sorting introduced in commit 4c665742027d7e89f0c136d1e30ea946be2a1c0f didn't take into account that TreeSet mandates that the ordering "...must be consistent with equals if it is to correctly implement the Set interface.". This was not the case as the comparator only checks for the timestamp of a history event and as such it can have two or more events at exactly the same time (and thus ordering) which would be overwritten in the resulting set.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions