gnodet commented on PR #23738: URL: https://github.com/apache/camel/pull/23738#issuecomment-4615448709
Thanks for the thorough review! All issues fixed: 1. getHeaders() now triggers COW copy when headersShared is true 2. setHeaders() resets headersShared = false 3. Fields reverted to private with package-private accessor methods for MessageSupport The optimization still helps for read-only access patterns (getHeader(name), hasHeaders()) and lazy initialization. -- 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]
