Skip to content

Commit

Permalink
Fix compile error in jdk11 due to toArray confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun committed Jul 11, 2023
1 parent b828c9f commit ca61142
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 ca61142

Please sign in to comment.