Skip to content

Commit

Permalink
fix getFirst in list
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Aug 14, 2024
1 parent 6e92a46 commit 5cbfada
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private Object wrapCycleWithFallback(List<Object> list, Object style, Operation<
try {
return original.call(list, style);
} catch (IllegalArgumentException e) {
return list.getFirst();
return list.get(0);
}
}
}

0 comments on commit 5cbfada

Please sign in to comment.