Skip to content

test(spring-spel): remove redundant new() on @Autowired fields#19202

Open
awais-haider wants to merge 1 commit intoeugenp:masterfrom
awais-haider:fix/spring-spel-autowired-test-fields
Open

test(spring-spel): remove redundant new() on @Autowired fields#19202
awais-haider wants to merge 1 commit intoeugenp:masterfrom
awais-haider:fix/spring-spel-autowired-test-fields

Conversation

@awais-haider
Copy link
Copy Markdown

integrationTest

@Autowired field injection replaces field values after construction; the initial new() calls were unused and could mislead readers about the source of the beans.

…lIntegrationTest

@Autowired field injection replaces field values after construction; the
initial new() calls were unused and could mislead readers about the
source of the beans.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant