Browse Source

Deprecate @ConditionalOnMissingClass.value

Fixes gh-1069
pull/1082/head
Phillip Webb 12 years ago
parent
commit
3341a5db2b
  1. 3
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java

3
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java

@ -41,7 +41,10 @@ public @interface ConditionalOnMissingClass { @@ -41,7 +41,10 @@ public @interface ConditionalOnMissingClass {
* bytecode it is safe to specify classes here that may ultimately not be on the
* classpath.
* @return the classes that must be present
* @deprecated Since 1.1.0 due to the fact that the reflection errors can occur when
* beans containing the annotation remain in the context. Use {@link #name()} instead.
*/
@Deprecated
public Class<?>[] value() default {};
/**

Loading…
Cancel
Save