From: PJ Fanning Date: Wed, 9 Jun 2021 11:20:27 +0000 (+0000) Subject: remove unnecessary cast X-Git-Tag: REL_5_1_0~183 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=313b7acbc5f482ad4a6c44b42bd26587d51d9087;p=poi.git remove unnecessary cast git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890631 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java index 43c9dcf101..b78145d6aa 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java @@ -141,8 +141,7 @@ public class XSSFExcelExtractor } // Rows and cells - for (Object rawR : sheet) { - Row row = (Row)rawR; + for (Row row : sheet) { for(Iterator ri = row.cellIterator(); ri.hasNext();) { Cell cell = ri.next();