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

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

    Attachment: h4962_20130710.patch

Thanks Jing for the comments.

h4962_20130710.patch: returns null if the value is out of range; and changes 
switch() back to if-then since switch() cannot handle null.
                
> Use enum for nfs constants
> --------------------------
>
>                 Key: HDFS-4962
>                 URL: https://issues.apache.org/jira/browse/HDFS-4962
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: h4962_20130709b.patch, h4962_20130709.patch, 
> h4962_20130710.patch
>
>
> The constants defined in MountInterface and some other classes are better to 
> use enum types instead of lists of int.

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

Reply via email to