Skip to content

Commit 0c25131

Browse files
committed
HADOOP-17047. TODO comment exist in trunk while related issue HADOOP-6223 is already fixed. Contributed by Rungroj Maipradit
1 parent 9f242c2 commit 0c25131

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
import org.apache.hadoop.util.ShutdownHookManager;
6767

6868
import com.google.common.base.Preconditions;
69+
import com.google.common.annotations.VisibleForTesting;
6970
import org.apache.htrace.core.Tracer;
7071
import org.slf4j.Logger;
7172
import org.slf4j.LoggerFactory;
@@ -507,10 +508,9 @@ public static FileContext getLocalFSFileContext(final Configuration aConf)
507508
return getFileContext(FsConstants.LOCAL_FS_URI, aConf);
508509
}
509510

510-
/* This method is needed for tests. */
511+
@VisibleForTesting
511512
@InterfaceAudience.Private
512-
@InterfaceStability.Unstable /* return type will change to AFS once
513-
HADOOP-6223 is completed */
513+
@InterfaceStability.Unstable
514514
public AbstractFileSystem getDefaultFileSystem() {
515515
return defaultFS;
516516
}

0 commit comments

Comments
 (0)