Hi,

Am Dienstag, dem 07.02.2023 um 20:59 +0300 schrieb name name2:
> Hello
> 
> https://github.com/apache/netbeans/pull/5445
> 
> SDT deprecated by fact of existing new java.time
> SDT isnt thread safe and required ThreadLocal. The most part of code is
> without TL or created new objects every request. Its doesnt effective and
> right way. Also TL required a lot of memory as i know and are not desirable
> because they complicate the logic.

SimpleDateFormat is perfectly fine when you deal with java.util.Date.
The formatter is also save if only accessed from a single thread.

I would agree to switch if you'd need to introduce a ThreadLocal, but
there is no evidence to suggest this.

So i agree, that the referenced PR introduces noice without much
benefit.

Greetings

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to