You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2012/08/22 02:02:38 UTC
[jira] [Updated] (HDFS-3834) Unused Command.java fields NAME,
DESCRIPTION and USAGE
[ https://issues.apache.org/jira/browse/HDFS-3834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-3834:
----------------------------
Attachment: HDFS-3834.patch
In the current patch I only removed the three unused fields from Command.java. We'd better define abstract data manipulators and inspectors to re-organize NAME, USAGE, AND DESCRIPTION for all the subclasses of Command.
> Unused Command.java fields NAME, DESCRIPTION and USAGE
> ------------------------------------------------------
>
> Key: HDFS-3834
> URL: https://issues.apache.org/jira/browse/HDFS-3834
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Attachments: HDFS-3834.patch
>
>
> The static fields NAME, USAGE AND DESCRIPTION in Command.java are not used and cannot be overridden by subclasses since Java does not support static variable overriding. We can get rid of these three fields in the Command.java and only keep them as static fields in subclasses.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira