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

(cherry picked from commit 3929ac9340)
This commit is contained in:
Jakob Homan 2015-10-02 11:13:24 -07:00 committed by Akira Ajisaka
parent 53bddc410f
commit caa970974c
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -238,7 +238,7 @@ public class Hdfs extends AbstractFileSystem {
* @return the next item in the list * @return the next item in the list
* *
* @throws IOException if there is any error * @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 { public HdfsFileStatus getNext() throws IOException {
if (hasNext()) { if (hasNext()) {