HADOOP-9473. Typo in FileUtil copy() method. Contributed by Glen Mazza.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1467694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2013-04-13 20:22:02 +00:00
parent 801b484f97
commit e408d9904b

View File

@ -284,7 +284,7 @@ public static boolean copy(FileSystem srcFS, Path[] srcs,
// Check if dest is directory
if (!dstFS.exists(dst)) {
throw new IOException("`" + dst +"': specified destination directory " +
"doest not exist");
"does not exist");
} else {
FileStatus sdst = dstFS.getFileStatus(dst);
if (!sdst.isDirectory())