소스 검색

HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled. Contributed by Catherine Palmer.

(cherry picked from commit 3929ac9340a5c9f26574dc076a449f7e11931527)
Jakob Homan 9 년 전
부모
커밋
caa970974c
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
  2. 1 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -1133,6 +1133,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9100. HDFS Balancer does not respect dfs.client.use.datanode.hostname.
     (Casey Brotherton via Yongjun Zhang)
 
+    HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled.
+    (Catherine Palmer via jghoman)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java

@@ -238,7 +238,7 @@ public class Hdfs extends AbstractFileSystem {
      * @return the next item in the list
      * 
      * @throws IOException if there is any error
-     * @throws NoSuchElmentException if no more entry is available
+     * @throws NoSuchElementException if no more entry is available
      */
     public HdfsFileStatus getNext() throws IOException {
       if (hasNext()) {