Fix annotation() javadoc

pull/2757/head
Stephane Nicoll 10 years ago
parent 5d9efe40d0
commit ff7c66c0d2

@ -55,8 +55,9 @@ public @interface ConditionalOnBean {
/**
* The annotation type decorating a bean that should be checked. The condition matches
* when each class specified is missing from beans in the {@link ApplicationContext}.
* @return the class types of beans to check
* when any of the annotations specified is defined on a bean in the
* {@link ApplicationContext}.
* @return the class-level annotation types to check
*/
Class<? extends Annotation>[] annotation() default {};

@ -55,9 +55,9 @@ public @interface ConditionalOnMissingBean {
/**
* The annotation type decorating a bean that should be checked. The condition matches
* when each class specified is missing from all beans in the
* when each annotation specified is missing from all beans in the
* {@link ApplicationContext}.
* @return the class types of beans to check
* @return the class-level annotation types to check
*/
Class<? extends Annotation>[] annotation() default {};

Loading…
Cancel
Save