Skip to content

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Jan 23, 2025

  1. avoid adding elements to immutable Collection, see
    catch (UnsupportedOperationException ex) {
    return createNewCollection(additional);
    }
  2. use List.of() instead of Arrays.asList()

@bclozel
Copy link
Member

bclozel commented Jan 23, 2025

This was already declined by a team member. What are you expecting?

@bclozel bclozel closed this Jan 23, 2025
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 23, 2025
@quaff
Copy link
Contributor Author

quaff commented Jan 23, 2025

This was already declined by a team member. What are you expecting?

The changes by this PR is not same as @wilkinsona declined, please read the description then give your advices.

@wilkinsona
Copy link
Member

This is the change that was suggested as an alternative on #43918 and that I said was not worth it. Please don’t waste the team’s time by then opening a PR anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants