adoroszlai commented on PR #8092: URL: https://github.com/apache/ozone/pull/8092#issuecomment-2734008006
> ```diff > - private final ConcurrentHashMap<UUID, Long> commitInfoMap; > + private final Map<UUID, Long> commitInfoMap; > ``` > > The class requires that the map is thread-safe, and the declared type helps enforce this. It is not true that any map implementation would suffice as the declaration implies. It still should be declared as `ConcurrentMap`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
