jbertram commented on PR #4705: URL: https://github.com/apache/activemq-artemis/pull/4705#issuecomment-1907298955
You added `addressLock` and use it inside `removeBinding`, `addBinding`, and `getBinding`. However, both `removeBinding` and `addBinding` are already `synchronized`. Therefore, you can just make `getBinding` `synchronized` as well. This would simplify your PR significantly. -- 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]
