mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Prior to this commit, @ComponentScan already had a value/basePackages alias pair; however, the semantics were not properly enforced. This commit addresses this issue by refactoring ComponentScanAnnotationParser to ensure that it is not possible to declare both of the aliased attributes. In addition, the 'value' and 'basePackages' attributes are now annotated with @AliasFor in order to make the semantics clearer. Issue: SPR-11393