Closed TomaszTB closed 3 months ago
Didn't realize using synchronized TreeSet can still lead to concurrent modification. Using a ConcurrentSkipListSet fixes that.
TreeSet
ConcurrentSkipListSet
Didn't realize using synchronized
TreeSet
can still lead to concurrent modification. Using aConcurrentSkipListSet
fixes that.