]> source.dussan.org Git - poi.git/commitdiff
Fix Eclipse warning about generics
authorDominik Stadler <centic@apache.org>
Mon, 10 Nov 2014 20:36:54 +0000 (20:36 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 10 Nov 2014 20:36:54 +0000 (20:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637978 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java

index ce56b6a6d65235f5de08be2589be68d647098b2e..e3afdc5c02be07dabc6ccead2189c342ba6cbeec 100644 (file)
@@ -331,7 +331,7 @@ public class SXSSFWorkbook implements Workbook
             ZipOutputStream zos = new ZipOutputStream(out);
             try
             {
-                Enumeration<ZipEntry> en = (Enumeration<ZipEntry>) zip.entries();
+                Enumeration<? extends ZipEntry> en = zip.entries();
                 while (en.hasMoreElements()) 
                 {
                     ZipEntry ze = en.nextElement();