cpoerschke commented on code in PR #929:
URL: https://github.com/apache/solr/pull/929#discussion_r915176340
##########
solr/core/src/test/org/apache/solr/internal/csv/CSVParserTest.java:
##########
@@ -351,9 +348,8 @@ public void testEmptyLineBehaviourExcel() throws Exception {
{""}, // ExcelStrategy does not ignore empty lines
{""}
};
- String code;
- for (int codeIndex = 0; codeIndex < codes.length; codeIndex++) {
- code = codes[codeIndex];
+ for (String s : codes) {
+ code = s;
Review Comment:
```suggestion
for (String code : codes) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]