[
https://issues.apache.org/jira/browse/HDDS-14125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-14125:
------------------------------------
Fix Version/s: 2.2.0
Resolution: Implemented
Status: Resolved (was: Patch Available)
> Make OmDirectoryInfo immutable
> ------------------------------
>
> Key: HDDS-14125
> URL: https://issues.apache.org/jira/browse/HDDS-14125
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
>
> Make {{OmDirectoryInfo}} immutable:
> - {{owner}} can be final
> - annotate as {{@Immutable}}
> - {{copyObject}} can return the same object
> Additional cleanup:
> - replace {{OmDirectoryInfo.Builder}} with {{Builder}} (no need to qualify)
> - remove javadoc from {{copyObject}}
> - change constructors {{OmDirectoryInfo(Builder)}} and
> {{Builder(OmDirectoryInfo}} to private
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]