Explorar o código

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

Jakob Homan %!s(int64=9) %!d(string=hai) anos
pai
achega
3929ac9340

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

@@ -350,6 +350,9 @@ Trunk (Unreleased)
 
     HDFS-8800. hdfs --daemon stop namenode corrupts logs (John Smith via aw)
 
+    HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled.
+    (Catherine Palmer via jghoman)
+
 Release 2.8.0 - UNRELEASED
 
   NEW FEATURES

+ 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()) {