Skip to content

Commit

Permalink
Merge pull request #22 from WaltonG/issue-3-sikp-level-selection
Browse files Browse the repository at this point in the history
Fix loop
  • Loading branch information
WaltonG authored Aug 2, 2022
2 parents fa4dbe7 + 944634f commit 9403388
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private List<List<Object>> getRowsOfCells(int startRow) throws IOException {
}
List<Object> rowOfCells = new ArrayList<Object>(row.size());

while (start <= row.size() / columns.size()) {
while (start < row.size()) {
int end = start + columns.size() - 1;
for (int i = start; i <= end; i++) {

Expand All @@ -166,7 +166,7 @@ private List<JsonRow> getRows() {
row.setIndex(index);
List<String> values = new ArrayList<String>(columns.size());

while (start <= jsonRows.size() / columns.size()) {
while (start < jsonRows.size()) {
int end = start + columns.size() - 1;
for (int i = start; i <= end; i++) {

Expand Down

0 comments on commit 9403388

Please sign in to comment.