Closed MMcM closed 1 week ago
It is not thread-safe otherwise.
Note that I believe that TextCollatorRegistryJRE is okay: Collator.getInstance returns a clone and both compare and getCollationKey are synchronized.
TextCollatorRegistryJRE
Collator.getInstance
compare
getCollationKey
synchronized
It is not thread-safe otherwise.
Note that I believe that
TextCollatorRegistryJRE
is okay:Collator.getInstance
returns a clone and bothcompare
andgetCollationKey
aresynchronized
.