Skip to content

Use memory-saving Collections.singletonList in JdbcAclService.readAclById() #8756

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

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

stsypanov
Copy link
Contributor

We don't need array-based Arrays.asList() as we always have only one instance ObjectIdentity at call site.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 24, 2020
Copy link
Contributor

@eleftherias eleftherias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @stsypanov!

For readability, please update the commit message to be 50 characters or less if possible.

@eleftherias eleftherias self-assigned this Jun 25, 2020
@eleftherias eleftherias added in: acl An issue in spring-security-acl type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 25, 2020
@stsypanov
Copy link
Contributor Author

@eleftherias done

@eleftherias eleftherias added this to the 5.4.0-M2 milestone Jun 26, 2020
@eleftherias eleftherias merged commit 3c2a97e into spring-projects:master Jun 26, 2020
@eleftherias
Copy link
Contributor

Thanks for the PR @stsypanov! This is now merged into master.

@stsypanov stsypanov deleted the list branch June 26, 2020 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: acl An issue in spring-security-acl type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants