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/17 05:19:13 UTC

[jira] [Updated] (HDFS-4206) Change the fields in INode and its subclasses to private

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

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

    Attachment: h4206_20121116.patch

h4206_20121116.patch: 1st patch
                
> Change the fields in INode and its subclasses to private
> --------------------------------------------------------
>
>                 Key: HDFS-4206
>                 URL: https://issues.apache.org/jira/browse/HDFS-4206
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h4206_20121116.patch
>
>
> The fields in INode and its subclasses are sometimes directly accessed and modified by other code.  It is better to change them to private and use getters/setters.

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