Skip to content

Commit

Permalink
Revert getFirst usage to get(0)
Browse files Browse the repository at this point in the history
Signed-off-by: sugarylump <[email protected]>
  • Loading branch information
SugaryLump committed Jul 1, 2024
1 parent a2824e7 commit 7305e43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public CompletableFuture<IndexResult<T>> getData(Sublist sublist, Sorter sorter,
setResult(tIndexResult);
if (redirectOnSingleResult && originalFilter.equals(AsyncTableCell.this.getFilter())
&& tIndexResult.getResults().size() == 1) {
HistoryUtils.resolve(tIndexResult.getResults().getFirst(), true);
HistoryUtils.resolve(tIndexResult.getResults().get(0), true);
}

if (tIndexResult.getResults().isEmpty()) {
Expand Down

0 comments on commit 7305e43

Please sign in to comment.