Skip to content

Commit 11706d2

Browse files
author
Xing Lin
committed
Made resolve() and getHomeDirPrefixValue() also public
1 parent 90f3e5a commit 11706d2

File tree

1 file changed

+3
-3
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs

1 file changed

+3
-3
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ private LinkEntry buildLinkRegexEntry(
742742
* If the input pathname leads to an internal mount-table entry then
743743
* the target file system is one that represents the internal inode.
744744
*/
745-
static class ResolveResult<T> {
745+
public static class ResolveResult<T> {
746746
final ResultKind kind;
747747
final T targetFileSystem;
748748
final String resolvedPath;
@@ -777,7 +777,7 @@ boolean isLastInternalDirLink() {
777777
* @return ResolveResult which allows further resolution of the remaining path
778778
* @throws IOException
779779
*/
780-
ResolveResult<T> resolve(final String p, final boolean resolveLastComponent)
780+
public ResolveResult<T> resolve(final String p, final boolean resolveLastComponent)
781781
throws IOException {
782782
ResolveResult<T> resolveResult = null;
783783
String[] path = breakIntoPathComponents(p);
@@ -957,7 +957,7 @@ public List<MountPoint<T>> getMountPoints() {
957957
* @return home dir value from mount table; null if no config value
958958
* was found.
959959
*/
960-
String getHomeDirPrefixValue() {
960+
public String getHomeDirPrefixValue() {
961961
return homedirPrefix;
962962
}
963963
}

0 commit comments

Comments
 (0)