File tree 3 files changed +5
-5
lines changed
java/org/springframework/data/jpa/aot
resources/META-INF/spring
test/java/org/springframework/data/jpa/aot
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 31
31
* @author Christoph Strobl
32
32
* @since 3.0
33
33
*/
34
- public class JpaRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
34
+ public class JpaRuntimeHints implements RuntimeHintsRegistrar {
35
35
36
36
@ Override
37
37
public void registerHints (RuntimeHints hints , @ Nullable ClassLoader classLoader ) {
Original file line number Diff line number Diff line change 1
1
org.springframework.aot.hint.RuntimeHintsRegistrar=\
2
- org.springframework.data.jpa.aot.JpaRuntimeHintsRegistrar
2
+ org.springframework.data.jpa.aot.JpaRuntimeHints
Original file line number Diff line number Diff line change 28
28
/**
29
29
* @author Christoph Strobl
30
30
*/
31
- class JpaRuntimeHintsRegistrarUnitTests {
31
+ class JpaRuntimeHintsUnitTests {
32
32
33
33
@ Test // GH-2497
34
34
void registersAuditing () {
35
35
36
36
RuntimeHints hints = new RuntimeHints ();
37
37
38
- JpaRuntimeHintsRegistrar registrar = new JpaRuntimeHintsRegistrar ();
38
+ JpaRuntimeHints registrar = new JpaRuntimeHints ();
39
39
registrar .registerHints (hints , null );
40
40
41
41
assertThat (hints ).matches (reflection ().onType (AnnotationBeanConfigurerAspect .class ))
@@ -48,7 +48,7 @@ void skipsAuditingHintsIfAspectjNotPresent() {
48
48
49
49
RuntimeHints hints = new RuntimeHints ();
50
50
51
- JpaRuntimeHintsRegistrar registrar = new JpaRuntimeHintsRegistrar ();
51
+ JpaRuntimeHints registrar = new JpaRuntimeHints ();
52
52
registrar .registerHints (hints , HidingClassLoader .hidePackages ("org.springframework.beans.factory.aspectj" ));
53
53
54
54
assertThat (hints ).matches (reflection ().onType (AnnotationBeanConfigurerAspect .class ).negate ())
You can’t perform that action at this time.
0 commit comments