HADOOP-13721. Remove stale method ViewFileSystem#getTrashCanLocation. Contributed by Manoj Govindassamy.
This commit is contained in:
parent
8c520a27cb
commit
aee538be6c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue