You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Introduce 'value' alias for 'attribute' in @AliasFor [SPR-13289] #17879
#16137 introduced support for annotation attribute aliases via @AliasFor. For example, this support allows @ContextConfiguration from the spring-test module to declare aliases as follows:
Introduce 'value' alias for 'attribute' in @AliasFor
#16137 introduced support for annotation attribute aliases via @AliasFor, requiring the explicit declaration of the attribute attribute. However, for aliases within an annotation, this explicit declaration is unnecessary.
This commit improves the readability of alias pairs declared within an annotation by introducing a value attribute in @AliasFor that is an alias for the existing attribute attribute. This allows annotations such as @ContextConfiguration from the spring-test module to declare aliases as follows.
Activity
spring-projects-issues commentedon Jul 29, 2015
Sam Brannen commented
Implemented in GitHub commit 7252920: