Skip to content

Commit

Permalink
fix: a potential bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CodePlayer committed Nov 14, 2024
1 parent 1b4cec5 commit 9393ebf
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,7 @@ public Object apply(Object o) {
}

if (o.getClass().isArray()) {
int len = Array.getLength(o);
for (int i = 0; i < len; i++) {
return Array.get(o, i);
}
return Array.get(o, index);
}

return null;
Expand Down

0 comments on commit 9393ebf

Please sign in to comment.