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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2012/11/02 04:28:12 UTC

[jira] [Updated] (HDFS-4143) Change INodeFile.blocks to private

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

Tsz Wo (Nicholas), SZE updated HDFS-4143:
-----------------------------------------

    Attachment: h4143_20121101.patch

h4143_20121101.patch: changes INodeFile.blocks to package private.  Also renames isLink() to isSymlink().
                
> Change INodeFile.blocks to private
> ----------------------------------
>
>                 Key: HDFS-4143
>                 URL: https://issues.apache.org/jira/browse/HDFS-4143
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: h4143_20121101.patch
>
>
> INodeFile.blocks is currently package private.  It is accessed directly in quite many case.  It is better to change it to package private and access via setter and getter methods.

--
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