8e6015ca by Ean Schuessler

Add generics markup. #4378

1 parent 017e74f9
...@@ -153,9 +153,9 @@ public class DirectControlServlet extends HttpServlet { ...@@ -153,9 +153,9 @@ public class DirectControlServlet extends HttpServlet {
153 } 153 }
154 154
155 Iterable<CSVRecord> records = CSVFormat.EXCEL.parse(request.getReader()); 155 Iterable<CSVRecord> records = CSVFormat.EXCEL.parse(request.getReader());
156 List data = new ArrayList(); 156 List<List<String>> data = new ArrayList<List<String>>();
157 for (CSVRecord record : records) { 157 for (CSVRecord record : records) {
158 List row = new ArrayList(); 158 List<String> row = new ArrayList<String>();
159 String cell = null; 159 String cell = null;
160 Iterator<String> i=record.iterator(); 160 Iterator<String> i=record.iterator();
161 while (i.hasNext()) { 161 while (i.hasNext()) {
......