FELIX-2125 Apply patch by Valentin Valchev (thanks) with a small change: The Comparator is created each time for the locale instead of synchronizing on the comparator and setting the locale field. IMHO this is cleaner and the cost of creating the comparator instance is close zero.
|