HADOOP-12016. Typo in FileSystem::listStatusIterator. Contributed by Arthur Vigil.

This commit is contained in:
Jakob Homan 2015-05-21 14:50:03 -07:00
parent 4513761869
commit 4fc942a84f
2 changed files with 4 additions and 1 deletions

View File

@ -218,6 +218,9 @@ Trunk (Unreleased)
HADOOP-10993. Dump java command line to *.out file
(Kengo Seki via vinayakumarb)
HADOOP-12016. Typo in FileSystem::listStatusIterator
(Arthur Vigil via jghoman)
BUG FIXES
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1

View File

@ -1720,7 +1720,7 @@ public abstract class FileSystem extends Configured implements Closeable {
@Override
public LocatedFileStatus next() throws IOException {
if (!hasNext()) {
throw new NoSuchElementException("No more entry in " + f);
throw new NoSuchElementException("No more entries in " + f);
}
FileStatus result = stats[i++];
BlockLocation[] locs = result.isFile() ?