adoroszlai opened a new pull request, #9510: URL: https://github.com/apache/ozone/pull/9510
## What changes were proposed in this pull request? Existing `OmKeyInfo` is sometimes copied with slightly different values using `OmKeyInfo.newBuilder` and setting individual properties. Such code could instead use `toBuilder` to initialize the builder with the existing instance's values. Benefits: - less boilerplate code - less change if new property is added - avoid copying immutable collections https://issues.apache.org/jira/browse/HDDS-14189 ## How was this patch tested? CI: https://github.com/adoroszlai/ozone/actions/runs/20274953820 -- 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]
