Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
angelominisci committed Oct 18, 2024
1 parent 19121ea commit 307f23d
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,13 @@ public void downloadAttestazione(int rows) {
if ((rows + 1) < disserviziTableRows.size()) {
logger.info("ROWS SELEZIONATA3: " + (disserviziTableRows.size() - (rows + 1)));
riga = disserviziTableRows.get(disserviziTableRows.size() - (rows + 1));
} else {
logger.info("ROWS SELEZIONATA4: " + (disserviziTableRows.size() - 1));

} else if(disserviziTableRows.size() > rows) {
logger.info("ROWS SELEZIONATA4: " + rows);
riga = disserviziTableRows.get(rows);
}
else {
logger.info("ROWS SELEZIONATA5: " + (disserviziTableRows.size() - 1));
riga = disserviziTableRows.get(disserviziTableRows.size() - 1);
}

Expand Down

0 comments on commit 307f23d

Please sign in to comment.