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

ASF GitHub Bot updated HDDS-9797:
---------------------------------
    Labels: pull-request-available  (was: )

> Pass defaultInstance instead of a class in Proto2/3Codec
> --------------------------------------------------------
>
>                 Key: HDDS-9797
>                 URL: https://issues.apache.org/jira/browse/HDDS-9797
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: db
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, we pass a proto class and use reflection to get the parser for a 
> proto class.  The reflection can be avoided by passing a proto 
> defaultInstance and invoking getParserForType()



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