mirror of https://github.com/apache/poi.git
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:
parent
73266f9c24
commit
f5329e5b42
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue