Tsz-wo Sze created HDDS-9797:
--------------------------------
Summary: 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
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]