From 6a5f08579383f963a1d7747cf4047704fe04c0e4 Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Mon, 19 Dec 2016 16:33:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/com/platform/test/ExcelTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/com/platform/test/ExcelTest.java b/test/com/platform/test/ExcelTest.java index a400c086..48673716 100644 --- a/test/com/platform/test/ExcelTest.java +++ b/test/com/platform/test/ExcelTest.java @@ -88,10 +88,10 @@ public class ExcelTest { File f = new File("D:/test/4.xlsx"); Date d = new Date(); XSSFWorkbook workbook = null; - List rowErr = null; + List> rowErr = null; try { workbook = new XSSFWorkbook(f); - rowErr = new ArrayList(); + rowErr = new ArrayList>(); list = ExcelOperation.readExcel4Update(workbook, Constant.EXCEL_TEMPLATE_INIT_ROW, 0, f.getName(), rowErr ,new PreDataInfo(), "id", "dataId", "workRange","sysCode","updateTime","userTablespaceStatus", "checkoutIndicateStatus", "checkoutPayStatus", "userTablespacePath", "checkoutIndicatePath", "checkoutPayPath", "sqlList", "dataVersion", "collectingTime", "collUpdate"); } catch (IllegalArgumentException | IllegalAccessException | InstantiationException | InvalidFormatException | IOException e) {