Add generics markup. #4378
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -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()) { | ... | ... |
-
Please register or sign in to post a comment