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:
parent
801b484f97
commit
e408d9904b
|
@ -284,7 +284,7 @@ public class FileUtil {
|
||||||
// Check if dest is directory
|
// Check if dest is directory
|
||||||
if (!dstFS.exists(dst)) {
|
if (!dstFS.exists(dst)) {
|
||||||
throw new IOException("`" + dst +"': specified destination directory " +
|
throw new IOException("`" + dst +"': specified destination directory " +
|
||||||
"doest not exist");
|
"does not exist");
|
||||||
} else {
|
} else {
|
||||||
FileStatus sdst = dstFS.getFileStatus(dst);
|
FileStatus sdst = dstFS.getFileStatus(dst);
|
||||||
if (!sdst.isDirectory())
|
if (!sdst.isDirectory())
|
||||||
|
|
Loading…
Reference in New Issue