From 3929ac9340a5c9f26574dc076a449f7e11931527 Mon Sep 17 00:00:00 2001 From: Jakob Homan Date: Fri, 2 Oct 2015 11:13:24 -0700 Subject: [PATCH] HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled. Contributed by Catherine Palmer. --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index e62953e552..49ea985d76 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/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 diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java index 1d37aa9f6c..6dd88844b0 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java @@ -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()) {