james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Tellier (Jira)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-3584) DateTimeFieldLenientImpl: Migrate from SimpleDateFormat to DateTimeFormatter
Date Sun, 16 May 2021 11:32:00 GMT

     [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message