Browse Source

Polishing.

See #4115
pull/4120/head
Mark Paluch 2 months ago
parent
commit
343c040c53
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 4
      spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/aot/TestJpaAotRepositoryContext.java

4
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; @@ -48,18 +48,16 @@ import org.springframework.data.repository.core.support.RepositoryComposition;
public class TestJpaAotRepositoryContext<T> extends AotRepositoryContextSupport {
private final AotRepositoryInformation repositoryInformation;
private final Class<T> repositoryInterface;
private final RepositoryConfigurationSource configurationSource;
public TestJpaAotRepositoryContext(BeanFactory beanFactory, Class<T> 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,

Loading…
Cancel
Save