diff --git a/src/examples/src/org/apache/poi/ss/examples/ToCSV.java b/src/examples/src/org/apache/poi/ss/examples/ToCSV.java index 89b4f38c4d..67b6d56a6d 100644 --- a/src/examples/src/org/apache/poi/ss/examples/ToCSV.java +++ b/src/examples/src/org/apache/poi/ss/examples/ToCSV.java @@ -132,7 +132,7 @@ import org.apache.poi.ss.usermodel.WorkbookFactory; public class ToCSV { private Workbook workbook = null; - private ArrayList csvData = null; + private ArrayList> csvData = null; private int maxRowWidth = 0; private int formattingConvention = 0; private DataFormatter formatter = null; @@ -406,7 +406,7 @@ public class ToCSV { Sheet sheet = null; Row row = null; int lastRowNum = 0; - this.csvData = new ArrayList(); + this.csvData = new ArrayList>(); System.out.println("Converting files contents to CSV format.");