Skip to content

Avoid duplicate required attribute lookup for @Autowired annotations #36314

@sbrannen

Description

@sbrannen

The determineRequiredStatus() method in AutowiredAnnotationBeanPostProcessor currently looks up the required attribute for @Autowired annotations twice; wheres, once would suffice.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions