From 1f5b27653eea9b0ab233fed59ff24c811d10e76e Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Mon, 8 Feb 2010 19:54:09 +0000 Subject: [PATCH] POI deprecated the use of short, good thing git-svn-id: http://google-refine.googlecode.com/svn/trunk@69 7d457c2a-affb-35e4-300a-418c747d4874 --- .../java/com/metaweb/gridworks/importers/ExcelImporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/metaweb/gridworks/importers/ExcelImporter.java b/src/main/java/com/metaweb/gridworks/importers/ExcelImporter.java index e3e8f2157..a9f90e866 100644 --- a/src/main/java/com/metaweb/gridworks/importers/ExcelImporter.java +++ b/src/main/java/com/metaweb/gridworks/importers/ExcelImporter.java @@ -59,7 +59,7 @@ public class ExcelImporter implements Importer { nonBlankIndices = new ArrayList(lastCell - firstCell + 1); nonBlankHeaderStrings = new ArrayList(lastCell - firstCell + 1); - for (short c = firstCell; c <= lastCell; c++) { + for (int c = firstCell; c <= lastCell; c++) { HSSFCell cell = row.getCell(c); if (cell != null) { String text = cell.getStringCellValue().trim(); @@ -104,7 +104,7 @@ public class ExcelImporter implements Importer { Row newRow = new Row(nonBlankIndices.size()); boolean hasData = false; - for (short c = 0; c < nonBlankIndices.size(); c++) { + for (int c = 0; c < nonBlankIndices.size(); c++) { if (c < firstCell || c > lastCell) { continue; }