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.
(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

View File

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