From 313b7acbc5f482ad4a6c44b42bd26587d51d9087 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 9 Jun 2021 11:20:27 +0000 Subject: [PATCH] remove unnecessary cast git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890631 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.39.5