Browse Source

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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1467699 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 12 years ago
parent
commit
189c9dac25
2 changed files with 3 additions and 1 deletions
  1. 2 0
      CHANGES.txt
  2. 1 1
      src/core/org/apache/hadoop/fs/FileUtil.java

+ 2 - 0
CHANGES.txt

@@ -591,6 +591,8 @@ Release 1.2.0 - unreleased
     HDFS-4413. Secondary namenode won't start if HDFS isn't the default
     file system. (Mostafa Elhemali via suresh)
 
+    HADOOP-9473. Typo in FileUtil copy() method. (Glen Mazza via suresh)
+
 Release 1.1.2 - 2013.01.30
 
   INCOMPATIBLE CHANGES

+ 1 - 1
src/core/org/apache/hadoop/fs/FileUtil.java

@@ -178,7 +178,7 @@ public class FileUtil {
     // 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.isDir())