Skip to content

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Oct 31, 2024

No description provided.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 31, 2024
@quaff quaff changed the title Polish ConcurrentReferenceCachingMetadataReaderFactory to use Map::computeIfAbsent Use Map::computeIfAbsent where feasible Oct 31, 2024
@mhalbritter mhalbritter added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 31, 2024
@mhalbritter mhalbritter added this to the 3.4.x milestone Oct 31, 2024
@mhalbritter mhalbritter changed the title Use Map::computeIfAbsent where feasible Use Map,computeIfAbsent where feasible Oct 31, 2024
@mhalbritter mhalbritter changed the title Use Map,computeIfAbsent where feasible Use Map.computeIfAbsent where feasible Oct 31, 2024
@philwebb
Copy link
Member

Thanks for the PR, but I've had some issues in the past using computeIfAbsent with a ConcurrentHashMap so I'd rather not risk changing the code purely for cosmetic reasons.

@philwebb philwebb closed this Oct 31, 2024
@philwebb philwebb added status: declined A suggestion or change that we don't feel we should currently apply and removed type: task A general task labels Oct 31, 2024
@philwebb philwebb removed this from the 3.4.x milestone Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants