Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
-
None
-
Reviewed
Description
Some of the empty request and responses in protocol translators are unnecessarily created every time. They can be static final members in the translators.
Example: ClientNamenodeProtocolTranslatorPB.java
GetServerDefaultsRequestProto req = GetServerDefaultsRequestProto.newBuilder().build();