Closed Avinash2110 closed 4 weeks ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
Looks good! Thank you for the contribution 🎉
@all-contributors please add @Avinash2110 for code
@iluwatar
I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.
I've put up a pull request to add @Avinash2110! :tada:
What problem does this PR solve?
Currently the version number pattern is not thread safe in case multiple updates are done at the same time. To resolve this I have used ConcurrentHashMap and written the critical code inside the synchronized block with a lock to avoid dirty read and overwriting.