Skip to content

Commit 3a33cbc

Browse files
Rename JpaRuntimeHintsRegistrar to JpaRuntimeHints.
See: #2497
1 parent 3d8b287 commit 3a33cbc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @author Christoph Strobl
3232
* @since 3.0
3333
*/
34-
public class JpaRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
34+
public class JpaRuntimeHints implements RuntimeHintsRegistrar {
3535

3636
@Override
3737
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
org.springframework.aot.hint.RuntimeHintsRegistrar=\
2-
org.springframework.data.jpa.aot.JpaRuntimeHintsRegistrar
2+
org.springframework.data.jpa.aot.JpaRuntimeHints
+3-3
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
/**
2929
* @author Christoph Strobl
3030
*/
31-
class JpaRuntimeHintsRegistrarUnitTests {
31+
class JpaRuntimeHintsUnitTests {
3232

3333
@Test // GH-2497
3434
void registersAuditing() {
3535

3636
RuntimeHints hints = new RuntimeHints();
3737

38-
JpaRuntimeHintsRegistrar registrar = new JpaRuntimeHintsRegistrar();
38+
JpaRuntimeHints registrar = new JpaRuntimeHints();
3939
registrar.registerHints(hints, null);
4040

4141
assertThat(hints).matches(reflection().onType(AnnotationBeanConfigurerAspect.class))
@@ -48,7 +48,7 @@ void skipsAuditingHintsIfAspectjNotPresent() {
4848

4949
RuntimeHints hints = new RuntimeHints();
5050

51-
JpaRuntimeHintsRegistrar registrar = new JpaRuntimeHintsRegistrar();
51+
JpaRuntimeHints registrar = new JpaRuntimeHints();
5252
registrar.registerHints(hints, HidingClassLoader.hidePackages("org.springframework.beans.factory.aspectj"));
5353

5454
assertThat(hints).matches(reflection().onType(AnnotationBeanConfigurerAspect.class).negate())

0 commit comments

Comments
 (0)