Benoit Tellier created JAMES-3584:
-------------------------------------
Summary: DateTimeFieldLenientImpl: Migrate from SimpleDateFormat
to DateTimeFormatter
Key: JAMES-3584
URL: https://issues.apache.org/jira/browse/JAMES-3584
Project: James Server
Issue Type: Improvement
Components: dom
Reporter: Benoit Tellier
SimpleDateFormat is instanciated for each invocation of
DateTimeFieldLenientImpl::parse because SimpleDateFormat is not thread safe.
Using DateTimeFormatter would allow us to initialize it once at class-loading
time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]