]> source.dussan.org Git - poi.git/commitdiff
remove unnecessary cast
authorPJ Fanning <fanningpj@apache.org>
Wed, 9 Jun 2021 11:20:27 +0000 (11:20 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 9 Jun 2021 11:20:27 +0000 (11:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890631 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java

index 43c9dcf1012c46dda713718bc7272562ac17df1f..b78145d6aa7eca1025a630516538b4565db6cc96 100644 (file)
@@ -141,8 +141,7 @@ public class XSSFExcelExtractor
             }
 
             // Rows and cells
-            for (Object rawR : sheet) {
-                Row row = (Row)rawR;
+            for (Row row : sheet) {
                 for(Iterator<Cell> ri = row.cellIterator(); ri.hasNext();) {
                     Cell cell = ri.next();