[
https://issues.apache.org/jira/browse/JAMES-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-3584.
---------------------------------
Resolution: Invalid
See https://issues.apache.org/jira/browse/MIME4J-298
> 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
> Priority: Major
> Labels: perf
>
> 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]