You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2013/01/13 06:10:12 UTC
[jira] [Created] (HDFS-4393) Empty request and responses in
protocol translators can be static final members
Brandon Li created HDFS-4393:
--------------------------------
Summary: Empty request and responses in protocol translators can be static final members
Key: HDFS-4393
URL: https://issues.apache.org/jira/browse/HDFS-4393
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Brandon Li
Assignee: Brandon Li
Priority: Minor
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();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira