Closed glebfox closed 5 years ago
Currently SimpleDateFormat is used to serialize dates in ConfigDateSerializer and its instance is created every time serialization is processed.
SimpleDateFormat
ConfigDateSerializer
Replace SimpleDateFormat with FastDateFormat that is thread-safe and can be extracted into static final field.
FastDateFormat
static final
Open in refapp StockCharts and Charts:
Git changesets by pinyazhin:
pinyazhin
cd76bc0a in master - Replace SimpleDateFormat with FastDateFormat in chart data serialization #71
Environment
Description of the bug or enhancement
Currently
SimpleDateFormat
is used to serialize dates inConfigDateSerializer
and its instance is created every time serialization is processed.Replace
SimpleDateFormat
withFastDateFormat
that is thread-safe and can be extracted intostatic final
field.For QA
Open in refapp StockCharts and Charts: