Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call 'toArray()' with an empty array instead of a pre-sized array #5277

Merged
merged 2 commits into from
Nov 16, 2022
Merged

Call 'toArray()' with an empty array instead of a pre-sized array #5277

merged 2 commits into from
Nov 16, 2022

Commits on Nov 16, 2022

  1. Call 'toArray()' with an empty array instead of a pre-sized array

    Calls to `Collection.toArray()` is not consistent and in many places and use a pre-sized array parameter. This change makes a consistent use of the `toArray(new T[0])`. The empty array usage is considered faster, safer and cleaner than the sized based array approach.
    
    Signed-off-by: Rabi Panda <[email protected]>
    adnapibar committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    2154282 View commit details
    Browse the repository at this point in the history
  2. Remove CHANGELOG.md

    Signed-off-by: Rabi Panda <[email protected]>
    adnapibar committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    db3e36e View commit details
    Browse the repository at this point in the history