Polish contribution

Closes gh-7326
This commit is contained in:
Stephane Nicoll 2016-11-06 11:42:45 +01:00
parent e8b0a64872
commit ebfd86ea26
5 changed files with 10 additions and 10 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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")

View File

@ -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 {