hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3834) Unused Command.java fields NAME, DESCRIPTION and USAGE
Date Wed, 22 Aug 2012 00:02:38 GMT

     [ 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


View raw message