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 "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2011/08/09 22:26:27 UTC

[jira] [Updated] (HDFS-2241) Remove implementing FSConstants interface just to access the constants defined in the interface

     [ https://issues.apache.org/jira/browse/HDFS-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HDFS-2241:
----------------------------------

    Attachment: HDFS-2241.patch

Changes:
# Classes either static import FSConstants or use FSConstant.<constan_name>
# Removed some duplicated constants defined in FSConstants and DFSConfigKeys


> Remove implementing FSConstants interface just to access the constants defined in the interface
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2241
>                 URL: https://issues.apache.org/jira/browse/HDFS-2241
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.23.0
>
>         Attachments: HDFS-2241.patch
>
>
> Currently many classes implement FSConstants.java interface just for the convenience of accessing the constants defined in it. This could be done by using static imports or in some cases using FSConstants.<CONSTANT_NAME>, with no need for implementing the interface.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira