adoroszlai opened a new pull request, #9509: URL: https://github.com/apache/ozone/pull/9509
## What changes were proposed in this pull request? Make `OmDirectoryInfo` immutable: - `owner` can be final - annotate as `@Immutable` - `copyObject` can return the same object Additional cleanup in `OmDirectoryInfo`: - replace `OmDirectoryInfo.Builder` with `Builder` (no need to qualify) - remove javadoc from `copyObject` - change constructors `OmDirectoryInfo(Builder)` and `Builder(OmDirectoryInfo)` to private - use `newBuilder()` and make `Builder()` private - `Builder(AclListBuilder)` is used only by `Builder()`, inline it - fix javadoc that referenced `OmPrefixInfo` - fix variable names `pib` and `opib`, leftover from `OmPrefixInfo` - fix code layout in protobuf conversion and `equals` https://issues.apache.org/jira/browse/HDDS-14125 ## How was this patch tested? CI: https://github.com/adoroszlai/ozone/actions/runs/20262476005 -- 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]
