[ https://issues.apache.org/jira/browse/HADOOP-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005801#comment-13005801 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7175: ------------------------------------------------ Hi Daryn, there is a tab in the new isEnabled() method. We don't use tabs in Hadoop. Could you remove it? Other then that the patch looks good. > Add isEnabled() to Trash > ------------------------ > > Key: HADOOP-7175 > URL: https://issues.apache.org/jira/browse/HADOOP-7175 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Fix For: 0.23.0 > > Attachments: HADOOP-7175.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > The moveToTrash method returns false in a number of cases. It's not possible > to discern if false means an error occurred. In particular, it's not possible > to know if the trash is disabled vs. an error occurred. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira