diff options
author | Keith Packard <keithp@keithp.com> | 2018-10-07 14:49:48 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-07 14:55:35 -0600 |
commit | 173e72429fb494ea3832e3e38ee90f165fbff4cf (patch) | |
tree | e0a703b5de5a888ad58cfa5cfd9614ea86636d67 /altoslib/AltosMap.java | |
parent | 1b53a54b032c21b6e8ffb085aa56b9ffdff53d7e (diff) |
altoslib: NumberFormat can't be shared between parsers
AltosJson uses NumberFormat to ensure locale-independent parsing of
values. However, NumberFormat appears to have some internal state
which means that each thread needs to have an independent NumberFormat
object. Create one for each parser as needed.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosMap.java')
0 files changed, 0 insertions, 0 deletions