You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/06/17 19:02:26 UTC
[jira] Moved: (HTTPCLIENT-659) DateUtils should cache
SimpleDateFormat
[ https://issues.apache.org/jira/browse/HTTPCLIENT-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski moved HTTPCORE-79 to HTTPCLIENT-659:
------------------------------------------------------
Fix Version/s: (was: 4.0-alpha5)
4.0 Alpha 2
Component/s: (was: HttpCore)
HttpCookie
Affects Version/s: (was: 4.0-alpha5)
Key: HTTPCLIENT-659 (was: HTTPCORE-79)
Project: HttpComponents HttpClient (was: HttpComponents Core)
> DateUtils should cache SimpleDateFormat
> ---------------------------------------
>
> Key: HTTPCLIENT-659
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-659
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpCookie
> Reporter: Daniel Müller
> Priority: Minor
> Fix For: 4.0 Alpha 2
>
> Attachments: org.apache.http.util.patch
>
>
> DateUtils create a SimpleDateFormat for each invocation of #formatDate and #parseDate. This can be optimized if SimpleDateFormat instances are cached. Since SimpleDateFormat is not threadsafe, the cache must be threadlocal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org