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
f540622a05
commit
9c23e12b8e
@ -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
Block a user