Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 943BE200BB4 for ; Tue, 18 Oct 2016 01:14:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 92E3F160AF2; Mon, 17 Oct 2016 23:14:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EB1BF160AF0 for ; Tue, 18 Oct 2016 01:14:40 +0200 (CEST) Received: (qmail 4490 invoked by uid 500); 17 Oct 2016 23:14:22 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 2786 invoked by uid 99); 17 Oct 2016 23:14:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 23:14:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8D0F3E69AD; Mon, 17 Oct 2016 23:14:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: umamahesh@apache.org To: common-commits@hadoop.apache.org Date: Mon, 17 Oct 2016 23:14:53 -0000 Message-Id: In-Reply-To: <91cf63af350e4d6186f9f8359f6fdc63@git.apache.org> References: <91cf63af350e4d6186f9f8359f6fdc63@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [34/50] hadoop git commit: HADOOP-13721. Remove stale method ViewFileSystem#getTrashCanLocation. Contributed by Manoj Govindassamy. archived-at: Mon, 17 Oct 2016 23:14:41 -0000 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 Authored: Fri Oct 14 14:08:31 2016 -0700 Committer: Andrew Wang 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 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-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-commits-help@hadoop.apache.org