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

Attila Doroszlai updated HDDS-14151:
------------------------------------
    Status: Patch Available  (was: Open)

> Use MapBuilder for tags in OmKeyInfo
> ------------------------------------
>
>                 Key: HDDS-14151
>                 URL: https://issues.apache.org/jira/browse/HDDS-14151
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: common
>            Reporter: Attila Doroszlai
>            Assignee: Chen-Jheng Sing
>            Priority: Major
>              Labels: pull-request-available
>
> - Reduce copying of {{tags}} map in {{OmKeyInfo.Builder}} by using 
> {{MapBuilder}} (being added in HDDS-14126).
> - Remove {{OmKeyInfo#setTags}} (also from {{WithTags}} interface).  Only used 
> in two unit tests.
> - Change {{OmKeyInfo#tags}} to {{ImmutableMap}} and make it {{final}}.
> - Change {{OmKeyInfo#getTags()}} to return {{ImmutableMap}}.



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