You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2025/02/11 12:44:00 UTC

[jira] [Commented] (LANG-1763) Deprecate FastDateFormat

    [ https://issues.apache.org/jira/browse/LANG-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17925983#comment-17925983 ] 

Gary D. Gregory commented on LANG-1763:
---------------------------------------

If an API is deprecated, please make sure the @deprecated comment
states clearly with an @link what the replacement is.

This will allow people who use OpenRewrite to configure their wares
accordingly. IOW, don't give users a headache ;-)

> Deprecate FastDateFormat
> ------------------------
>
>                 Key: LANG-1763
>                 URL: https://issues.apache.org/jira/browse/LANG-1763
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> FastDateFormat has bugs, is out of date, and solves a problem that no longer exists. That is, it's a thread-safe replacement for SimpleDateFormat. But SimpleDateFormat should be replaced by java.time classes in Java 1.8 and later, which are thread safe. So deprecate FastDateFormat with a suggestion that devs use java.time instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)