From 8b4a6352caa099b826377d7a7f1dcf7229a1b1c4 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Mon, 10 Nov 2014 20:36:54 +0000 Subject: [PATCH] Fix Eclipse warning about generics 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java index ce56b6a6d6..e3afdc5c02 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java @@ -331,7 +331,7 @@ public class SXSSFWorkbook implements Workbook ZipOutputStream zos = new ZipOutputStream(out); try { - Enumeration en = (Enumeration) zip.entries(); + Enumeration en = zip.entries(); while (en.hasMoreElements()) { ZipEntry ze = en.nextElement();