[ 
https://issues.apache.org/jira/browse/HDDS-14125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-14125:
------------------------------------
    Description: 
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

  was:
- Make ACL list immutable
- {{owner}} can be final
- {{copyObject}} can return the same object


> 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
>
> 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]

Reply via email to