poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From virtu...@apache.org
Subject svn commit: r1709427 - /poi/trunk/src/ooxml/java/org/apache/poi/xdgf/usermodel/section/CombinedIterable.java
Date Mon, 19 Oct 2015 14:55:30 GMT
Author: virtuald
Date: Mon Oct 19 14:55:30 2015
New Revision: 1709427

URL: http://svn.apache.org/viewvc?rev=1709427&view=rev
Log:
XDGF: fix jdk < 1.8 compat

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xdgf/usermodel/section/CombinedIterable.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xdgf/usermodel/section/CombinedIterable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xdgf/usermodel/section/CombinedIterable.java?rev=1709427&r1=1709426&r2=1709427&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xdgf/usermodel/section/CombinedIterable.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xdgf/usermodel/section/CombinedIterable.java Mon
Oct 19 14:55:30 2015
@@ -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> impleme
     
     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,



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message