iluwatar / java-design-patterns

Design patterns implemented in Java
https://java-design-patterns.com
Other
88.27k stars 26.19k forks source link

Thread local storage test change #2884

Closed junhkang closed 3 months ago

junhkang commented 3 months ago

Flaky test in Thread Local Storage #2880

Create independent threadLocal to make values unsharable and unchangable by other threads. (Not sure this change is what I supposed to change, let me know if there is something that I have to consider or change :))

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

iluwatar commented 3 months ago

Looks good! Thank you for looking into this 🎉