Bug 65774 - ThreadLocal use in DateUtil is a Sonar code smell
Summary: ThreadLocal use in DateUtil is a Sonar code smell
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: SS Common (show other bugs)
Version: 5.0.x-dev
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-30 20:29 UTC by PJ Fanning
Modified: 2021-12-30 20:29 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PJ Fanning 2021-12-30 20:29:33 UTC
Introduced for https://bz.apache.org/bugzilla/show_bug.cgi?id=55611

Feels like it this caching is useful, it should be done using a static ConcurrentHashMap as opposed to thread locals