Skip to content

Commit ebfd86e

Browse files
committed
Polish contribution
Closes gh-7326
1 parent e8b0a64 commit ebfd86e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/core/AutoConfigureCache.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
* @author Phillip Webb
3737
* @since 1.4.0
3838
*/
39+
@Target(ElementType.TYPE)
40+
@Retention(RetentionPolicy.RUNTIME)
3941
@Documented
4042
@Inherited
41-
@Retention(RetentionPolicy.RUNTIME)
42-
@Target(ElementType.TYPE)
4343
@ImportAutoConfiguration
4444
public @interface AutoConfigureCache {
4545

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
* @author Phillip Webb
3737
* @see TestDatabaseAutoConfiguration
3838
*/
39+
@Target({ ElementType.TYPE, ElementType.METHOD })
40+
@Retention(RetentionPolicy.RUNTIME)
3941
@Documented
4042
@Inherited
41-
@Retention(RetentionPolicy.RUNTIME)
42-
@Target({ ElementType.TYPE, ElementType.METHOD })
4343
@ImportAutoConfiguration
4444
@PropertyMapping("spring.test.database")
4545
public @interface AutoConfigureTestDatabase {

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestEntityManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
* @author Phillip Webb
3333
* @see TestEntityManagerAutoConfiguration
3434
*/
35+
@Target({ ElementType.TYPE, ElementType.METHOD })
36+
@Retention(RetentionPolicy.RUNTIME)
3537
@Documented
3638
@Inherited
37-
@Retention(RetentionPolicy.RUNTIME)
38-
@Target({ ElementType.TYPE, ElementType.METHOD })
3939
@ImportAutoConfiguration
4040
public @interface AutoConfigureTestEntityManager {
4141

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/restdocs/AutoConfigureRestDocs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
* @see RestDocsAutoConfiguration
4040
* @see RestDocsMockMvcConfigurationCustomizer
4141
*/
42+
@Target(ElementType.TYPE)
43+
@Retention(RetentionPolicy.RUNTIME)
4244
@Documented
4345
@Inherited
44-
@Retention(RetentionPolicy.RUNTIME)
45-
@Target(ElementType.TYPE)
4646
@ImportAutoConfiguration
4747
@Import(RestDocumentationContextProviderRegistrar.class)
4848
@PropertyMapping("spring.test.restdocs")

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/AutoConfigureMockMvc.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
* @see MockMvcAutoConfiguration
4242
* @see SpringBootMockMvcBuilderCustomizer
4343
*/
44+
@Target({ ElementType.TYPE, ElementType.METHOD })
45+
@Retention(RetentionPolicy.RUNTIME)
4446
@Documented
4547
@Inherited
46-
@Retention(RetentionPolicy.RUNTIME)
47-
@Target({ ElementType.TYPE, ElementType.METHOD })
4848
@ImportAutoConfiguration
4949
@PropertyMapping("spring.test.mockmvc")
5050
public @interface AutoConfigureMockMvc {

0 commit comments

Comments
 (0)