From 343c040c53cfa8dcaffa2cb9907fbfabae7e1ae5 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 11 Dec 2025 10:37:13 +0100 Subject: [PATCH] Polishing. See #4115 --- .../data/jpa/repository/aot/TestJpaAotRepositoryContext.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/aot/TestJpaAotRepositoryContext.java b/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/aot/TestJpaAotRepositoryContext.java index bb107c5e2..ce45b194e 100644 --- a/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/aot/TestJpaAotRepositoryContext.java +++ b/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/aot/TestJpaAotRepositoryContext.java @@ -48,18 +48,16 @@ import org.springframework.data.repository.core.support.RepositoryComposition; public class TestJpaAotRepositoryContext extends AotRepositoryContextSupport { private final AotRepositoryInformation repositoryInformation; - private final Class repositoryInterface; private final RepositoryConfigurationSource configurationSource; public TestJpaAotRepositoryContext(BeanFactory beanFactory, Class repositoryInterface, @Nullable RepositoryComposition composition, RepositoryConfigurationSource configurationSource) { super(AotContext.from(beanFactory)); - this.repositoryInterface = repositoryInterface; + this.configurationSource = configurationSource; RepositoryMetadata metadata = AnnotationRepositoryMetadata.getMetadata(repositoryInterface); - RepositoryComposition.RepositoryFragments fragments = JpaRepositoryFragmentsContributor.DEFAULT.describe(metadata); this.repositoryInformation = new AotRepositoryInformation(metadata, SimpleJpaRepository.class,