Improve usage of ConcurrentMap
- Call get rather than containsKey then get - Only call putIfAbsent after get has returned null to avoid unnecessary object creation Closes gh-6382
Showing
Please register or sign in to comment
- Call get rather than containsKey then get - Only call putIfAbsent after get has returned null to avoid unnecessary object creation Closes gh-6382