You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/05/13 15:30:00 UTC
[jira] [Created] (JAMES-3584) DateTimeFieldLenientImpl: Migrate
from SimpleDateFormat to DateTimeFormatter
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org