hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8993) Remove unused methods from FileUtil class
Date Mon, 29 Oct 2012 21:38:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486389#comment-13486389
] 

Suresh Srinivas commented on HADOOP-8993:
-----------------------------------------

FileUtil is tagged as InterfaceAudience.Public. That means other hadoop projects or applications
could be using them.
                
> Remove unused methods from FileUtil class
> -----------------------------------------
>
>                 Key: HADOOP-8993
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8993
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ivan A. Veselovsky
>            Assignee: Ivan A. Veselovsky
>            Priority: Minor
>         Attachments: HADOOP-8993-branch-0.23.patch, HADOOP-8993-branch-2.patch
>
>
> Some methods in class org.apache.hadoop.fs.FileUtil are used neither in project code
nor in tests, that is, are a dead code. 
> This lowers the overall coverage of that class.
> The suggested patches remove the unused methods.
> Note: one of #copy(5) method is unused in 0.23 branch, while is used in branch-2, so
the patches for these branches are different.

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

Mime
View raw message