Fix Eclipse warning about generics

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2014-11-10 20:36:54 +00:00
parent 31ba1ad5fb
commit 3cf7699fde

View File

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