[
https://issues.apache.org/jira/browse/HADOOP-8320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vijay Bhat updated HADOOP-8320:
-------------------------------
Release Note:
Moved the checkPath logic from the AbstractFileSystem and FileSystem classes to
a "checkFileSystemPath" method in the Path class. The AbstracFileSystem and
FileSystem checkPath method will call the common code in checkFileSystemPath
(adapter pattern). This is because the two classes aren't derived from any
common ancestor.
There are no new test cases because existing test cases test the functionality
that is being refactored. Adding new test cases would be redundant.
was:Moved the checkPath logic from the AbstractFileSystem and FileSystem
classes to a "checkFileSystemPath" method in the Path class. The
AbstracFileSystem and FileSystem checkPath method will call the common code in
checkFileSystemPath (adapter pattern). This is because the two classes aren't
derived from any common ancestor.
> FileSystem#checkPath and AbstractFileSystem#checkPath should share code
> -----------------------------------------------------------------------
>
> Key: HADOOP-8320
> URL: https://issues.apache.org/jira/browse/HADOOP-8320
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 2.0.0-alpha
> Reporter: Aaron T. Myers
> Assignee: Vijay Bhat
> Priority: Minor
> Attachments: HADOOP-8320.001.patch, HADOOP-8320.002.patch,
> HADOOP-8320.003.patch, HADOOP-8320.004.patch, HADOOP-8320.005.patch,
> HADOOP-8320.007.patch
>
>
> Per the discussion on HADOOP-8310, these two methods can be refactored to
> share some code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)