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

Gargi Jaiswal updated HDDS-14573:
---------------------------------
    Labels: new-bie  (was: )

>    Remove duplicate setter invocations in ContainerInfo.getProtobuf() method
> ----------------------------------------------------------------------------
>
>                 Key: HDDS-14573
>                 URL: https://issues.apache.org/jira/browse/HDDS-14573
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Gargi Jaiswal
>            Assignee: Sravani Revuri
>            Priority: Minor
>              Labels: new-bie
>
> {{*ContainerInfo#getProtobuf*}} there are duplicates setter invocations for 
> the following.
>  # {{{}.setContainerID(getContainerID()){}}}-: Line 291 and Line 295 is 
> called twice. 
> https://github.com/apache/ozone/blob/08260d2a24a30ba62573a70415b391791bb64eb7/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/container/ContainerInfo.java#L267-L274
>  # {{.setReplicationType(getReplicationType())}} -: Line 299 and Line 310
> https://github.com/apache/ozone/blob/08260d2a24a30ba62573a70415b391791bb64eb7/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/container/ContainerInfo.java#L278-L288
> Need to remove one.



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