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

Remove unnecessary array length check #33655

Closed
wants to merge 1 commit into from

Conversation

jukekxm
Copy link
Contributor

@jukekxm jukekxm commented Oct 5, 2024

This is why I opened PR.

  1. ClassUtils.getAllInterfacesForClass does not return null.
  2. Even if the length of proxyInterfaces is 0, no error occurs in the loop.
    So I think that conditional statement is unnecessary.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 5, 2024
@sdeleuze sdeleuze self-assigned this Oct 7, 2024
@sdeleuze sdeleuze added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 7, 2024
@sdeleuze sdeleuze added this to the 6.2.0-RC2 milestone Oct 7, 2024
@sdeleuze sdeleuze closed this in f1cbbd2 Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants