Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
NumericEntityEscaper is currently mutable and not thread-safe.
It can easily be made immutable (and thus thread-safe) by using a private constructor to set the instance fields.
See patch to follow.
A similar approach can be used for some of the other classes in the translate package.