Commit ebfd86ea authored by Stephane Nicoll's avatar Stephane Nicoll

Polish contribution

Closes gh-7326
parent e8b0a648
......@@ -36,10 +36,10 @@ import org.springframework.cache.support.NoOpCacheManager;
* @author Phillip Webb
* @since 1.4.0
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@ImportAutoConfiguration
public @interface AutoConfigureCache {
......
......@@ -36,10 +36,10 @@ import org.springframework.boot.test.autoconfigure.properties.PropertyMapping;
* @author Phillip Webb
* @see TestDatabaseAutoConfiguration
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ImportAutoConfiguration
@PropertyMapping("spring.test.database")
public @interface AutoConfigureTestDatabase {
......
......@@ -32,10 +32,10 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
* @author Phillip Webb
* @see TestEntityManagerAutoConfiguration
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ImportAutoConfiguration
public @interface AutoConfigureTestEntityManager {
......
......@@ -39,10 +39,10 @@ import org.springframework.core.annotation.AliasFor;
* @see RestDocsAutoConfiguration
* @see RestDocsMockMvcConfigurationCustomizer
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@ImportAutoConfiguration
@Import(RestDocumentationContextProviderRegistrar.class)
@PropertyMapping("spring.test.restdocs")
......
......@@ -41,10 +41,10 @@ import org.springframework.test.web.servlet.MvcResult;
* @see MockMvcAutoConfiguration
* @see SpringBootMockMvcBuilderCustomizer
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ImportAutoConfiguration
@PropertyMapping("spring.test.mockmvc")
public @interface AutoConfigureMockMvc {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment