adoroszlai opened a new pull request, #9474: URL: https://github.com/apache/ozone/pull/9474
## What changes were proposed in this pull request? Reduce map copying in `WithMetadata.Builder` by using the original map if metadata is unchanged. - Remove few `addMetadata` methods that were unused, or only used by tests (replaced with `addAllMetadata` call). - Remove unused `withMetadata` from `OmKeyInfo`. https://issues.apache.org/jira/browse/HDDS-14126 ## How was this patch tested? Added unit test for `MapBuilder`. Refactored usage covered by existing tests. CI: https://github.com/adoroszlai/ozone/actions/runs/20103444685 -- 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]
