commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Katsubo (JIRA)" <>
Subject [jira] [Commented] (LANG-909) Thread-safe wrapper for SimpleDateFormat
Date Tue, 06 Aug 2013 23:15:48 GMT


Dmitry Katsubo commented on LANG-909:

[]: I will apply the code style changes you have mentioned. To make it easier:
are there code formatting rules for Eclipse which I can download? This from [here|]
are for Maven project and seem to be different from what Apache commons is using. Unit tests
do not test different formats because from implementation it is clear that formatting is delegated
to {{SimpleDateFormat}}; adding such test does not add any code or branch coverage to existing
test thus to my mind it is useless.

[]: Future parser looks good. Will the adapter for {{java.text.DateFormat}}
be included? A lot of legacy/3rdparty code is based on that JDK API, so it would be nice to
keep compatibility.
> Thread-safe wrapper for SimpleDateFormat
> ----------------------------------------
>                 Key: LANG-909
>                 URL:
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.time.*
>    Affects Versions: 3.1
>            Reporter: Dmitry Katsubo
>            Priority: Minor
>         Attachments:,
> {{SimpleDateFormat}} implementation in JDK is known to be [not thread-safe|].
The attached helper class solves the problem by holding a separate instance of {{SimpleDateFormat}}
per thread.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message