Browse Source

Move TestContextRuntimeHints to aot.hint package

pull/29049/head
Sam Brannen 4 years ago
parent
commit
2d35bbd74e
  1. 4
      spring-test/src/main/java/org/springframework/test/context/aot/hint/TestContextRuntimeHints.java
  2. 2
      spring-test/src/main/resources/META-INF/spring/aot.factories

4
spring-test/src/main/java/org/springframework/test/context/aot/TestContextRuntimeHints.java → spring-test/src/main/java/org/springframework/test/context/aot/hint/TestContextRuntimeHints.java

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.test.context.aot;
package org.springframework.test.context.aot.hint;
import java.lang.annotation.Annotation;
import java.util.Arrays;
@ -35,7 +35,7 @@ import org.springframework.util.ClassUtils; @@ -35,7 +35,7 @@ import org.springframework.util.ClassUtils;
* @author Sam Brannen
* @since 6.0
*/
public class TestContextRuntimeHints implements RuntimeHintsRegistrar {
class TestContextRuntimeHints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints runtimeHints, ClassLoader classLoader) {

2
spring-test/src/main/resources/META-INF/spring/aot.factories

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.test.context.aot.TestContextRuntimeHints
org.springframework.test.context.aot.hint.TestContextRuntimeHints

Loading…
Cancel
Save