Skip to content

Commit

Permalink
Fix compile error in jdk11 due to toArray confusion (#7869)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun authored Jul 13, 2023
1 parent b828c9f commit e4e0aee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public int size() {

@Override
public Object[] toArray() {
return toArray(null);
return toArray((Object[]) null);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6213,7 +6213,7 @@ public int size() {

@Override
public Object[] toArray() {
return toArray(null);
return toArray((Object[]) null);
}

@Override
Expand Down

0 comments on commit e4e0aee

Please sign in to comment.