From e4ba6049ff0ff2578ce7b99f7917d4cfb0928c8d Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 15 Oct 2019 14:36:28 +0200 Subject: [PATCH] Clarify scope of "@SpringBootTest#classes" See gh-18229 --- .../org/springframework/boot/test/context/SpringBootTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java index 86cfbc8b025..bd55ea42677 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java @@ -94,7 +94,7 @@ public @interface SpringBootTest { String[] properties() default {}; /** - * The annotated classes to use for loading an + * The component classes to use for loading an * {@link org.springframework.context.ApplicationContext ApplicationContext}. Can also * be specified using * {@link ContextConfiguration#classes() @ContextConfiguration(classes=...)}. If no @@ -102,7 +102,7 @@ public @interface SpringBootTest { * {@link Configuration @Configuration} classes, before falling back to a * {@link SpringBootConfiguration} search. * @see ContextConfiguration#classes() - * @return the annotated classes used to load the application context + * @return the component classes used to load the application context */ Class[] classes() default {};