[ https://issues.apache.org/jira/browse/HDFS-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao reassigned HDFS-5860: ------------------------------- Assignee: Jing Zhao > Refactor INodeDirectory getDirectoryXFeature methods to use common getFeature > helper method. > -------------------------------------------------------------------------------------------- > > Key: HDFS-5860 > URL: https://issues.apache.org/jira/browse/HDFS-5860 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: HDFS ACLs (HDFS-4685) > Reporter: Chris Nauroth > Assignee: Jing Zhao > Priority: Minor > Attachments: HDFS-5860.000.patch > > > The HDFS-4685 feature branch has introduced a helper method for getting an > inode feature of a particular class: > {{INodeWithAdditionalFields#getFeature}}. Currently, this is only called by > code related to ACLs, but we can also use the same method to reduce code > duplication in the various {{INodeDirectory}} methods that get different > kinds of features. -- This message was sent by Atlassian JIRA (v6.1.5#6160)