HADOOP-13721. Remove stale method ViewFileSystem#getTrashCanLocation. Contributed by Manoj Govindassamy.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/aee538be Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/aee538be Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/aee538be Branch: refs/heads/HDFS-10285 Commit: aee538be6c2ab324de4d7834cd3347959272de01 Parents: 8c520a2 Author: Andrew Wang <w...@apache.org> Authored: Fri Oct 14 14:08:31 2016 -0700 Committer: Andrew Wang <w...@apache.org> Committed: Fri Oct 14 14:08:31 2016 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/aee538be/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java index edc59ab..f6947ff 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java @@ -220,12 +220,6 @@ public class ViewFileSystem extends FileSystem { this(FsConstants.VIEWFS_URI, conf); } - public Path getTrashCanLocation(final Path f) throws FileNotFoundException { - final InodeTree.ResolveResult<FileSystem> res = - fsState.resolve(getUriPath(f), true); - return res.isInternalDir() ? null : res.targetFileSystem.getHomeDirectory(); - } - @Override public URI getUri() { return myUri; --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org