XDGF: fix jdk < 1.8 compat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709427 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dustin Spicuzza 2015-10-19 14:55:30 +00:00
parent 73266f9c24
commit f5329e5b42
1 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,6 @@
package org.apache.poi.xdgf.usermodel.section;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map.Entry;
import java.util.NoSuchElementException;
@ -35,14 +34,21 @@ public class CombinedIterable<T> implements Iterable<T> {
private static final class EmptyIterator<T> implements Iterator<T> {
@Override
public boolean hasNext() {
return false;
}
@Override
public T next() {
return null;
}
@Override
public void remove() {
throw new UnsupportedOperationException();
}
}
public CombinedIterable(SortedMap<Long, T> baseItems,