Add @Inherited on spring-boot-test-autoconfigure

Closes gh-11139
pull/11154/head
Kazuki Shimizu 7 years ago committed by Stephane Nicoll
parent 61f9d240df
commit bd8834568d

@ -18,6 +18,7 @@ package org.springframework.boot.test.autoconfigure.jdbc;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
@ -36,6 +37,7 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited
@ImportAutoConfiguration @ImportAutoConfiguration
public @interface AutoConfigureJdbc { public @interface AutoConfigureJdbc {

@ -18,6 +18,7 @@ package org.springframework.boot.test.autoconfigure.jooq;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
@ -35,6 +36,7 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited
@ImportAutoConfiguration @ImportAutoConfiguration
public @interface AutoConfigureJooq { public @interface AutoConfigureJooq {

Loading…
Cancel
Save