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; ...@@ -36,10 +36,10 @@ import org.springframework.cache.support.NoOpCacheManager;
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
*/ */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited @Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@ImportAutoConfiguration @ImportAutoConfiguration
public @interface AutoConfigureCache { public @interface AutoConfigureCache {
......
...@@ -36,10 +36,10 @@ import org.springframework.boot.test.autoconfigure.properties.PropertyMapping; ...@@ -36,10 +36,10 @@ import org.springframework.boot.test.autoconfigure.properties.PropertyMapping;
* @author Phillip Webb * @author Phillip Webb
* @see TestDatabaseAutoConfiguration * @see TestDatabaseAutoConfiguration
*/ */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited @Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ImportAutoConfiguration @ImportAutoConfiguration
@PropertyMapping("spring.test.database") @PropertyMapping("spring.test.database")
public @interface AutoConfigureTestDatabase { public @interface AutoConfigureTestDatabase {
......
...@@ -32,10 +32,10 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration; ...@@ -32,10 +32,10 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
* @author Phillip Webb * @author Phillip Webb
* @see TestEntityManagerAutoConfiguration * @see TestEntityManagerAutoConfiguration
*/ */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited @Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ImportAutoConfiguration @ImportAutoConfiguration
public @interface AutoConfigureTestEntityManager { public @interface AutoConfigureTestEntityManager {
......
...@@ -39,10 +39,10 @@ import org.springframework.core.annotation.AliasFor; ...@@ -39,10 +39,10 @@ import org.springframework.core.annotation.AliasFor;
* @see RestDocsAutoConfiguration * @see RestDocsAutoConfiguration
* @see RestDocsMockMvcConfigurationCustomizer * @see RestDocsMockMvcConfigurationCustomizer
*/ */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited @Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@ImportAutoConfiguration @ImportAutoConfiguration
@Import(RestDocumentationContextProviderRegistrar.class) @Import(RestDocumentationContextProviderRegistrar.class)
@PropertyMapping("spring.test.restdocs") @PropertyMapping("spring.test.restdocs")
......
...@@ -41,10 +41,10 @@ import org.springframework.test.web.servlet.MvcResult; ...@@ -41,10 +41,10 @@ import org.springframework.test.web.servlet.MvcResult;
* @see MockMvcAutoConfiguration * @see MockMvcAutoConfiguration
* @see SpringBootMockMvcBuilderCustomizer * @see SpringBootMockMvcBuilderCustomizer
*/ */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented @Documented
@Inherited @Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ImportAutoConfiguration @ImportAutoConfiguration
@PropertyMapping("spring.test.mockmvc") @PropertyMapping("spring.test.mockmvc")
public @interface AutoConfigureMockMvc { 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