Inspectopedia
 
2024.3

Unnecessary autowired dependency in XML application context

Warning
New
Last modified: 03 December 2024

Reports autowire attributes in <bean> elements and suggests to explicitly inject bean properties if possible.

Example:

After applying the quick-fix: