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

This commit is contained in:
Jakob Homan 2015-10-02 11:13:24 -07:00
parent c6cafc77e6
commit 3929ac9340
2 changed files with 4 additions and 1 deletions

View File

@ -350,6 +350,9 @@ Trunk (Unreleased)
HDFS-8800. hdfs --daemon stop namenode corrupts logs (John Smith via aw) 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 Release 2.8.0 - UNRELEASED
NEW FEATURES NEW FEATURES

View File

@ -238,7 +238,7 @@ public boolean hasNext() throws IOException {
* @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()) {