Skip to content

Commit

Permalink
MCPODS-6583 fixed last index in mock result cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaneusz committed Nov 16, 2023
1 parent 30c1d1e commit 1675b8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void afterLast() {
*/
@Override
public boolean last() {
currentPos = items.size();
currentPos = items.size() - 1;
return isPositionValid();
}

Expand Down

0 comments on commit 1675b8f

Please sign in to comment.