Gargi Jaiswal created HDDS-14573:
------------------------------------

             Summary:    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: Bug
            Reporter: Gargi Jaiswal
            Assignee: Sravani Revuri


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