Skip to content

Commit 343c040

Browse files
committed
Polishing.
See #4115
1 parent a480b5d commit 343c040

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/aot/TestJpaAotRepositoryContext.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,16 @@
4848
public class TestJpaAotRepositoryContext<T> extends AotRepositoryContextSupport {
4949

5050
private final AotRepositoryInformation repositoryInformation;
51-
private final Class<T> repositoryInterface;
5251
private final RepositoryConfigurationSource configurationSource;
5352

5453
public TestJpaAotRepositoryContext(BeanFactory beanFactory, Class<T> repositoryInterface,
5554
@Nullable RepositoryComposition composition,
5655
RepositoryConfigurationSource configurationSource) {
5756
super(AotContext.from(beanFactory));
58-
this.repositoryInterface = repositoryInterface;
57+
5958
this.configurationSource = configurationSource;
6059

6160
RepositoryMetadata metadata = AnnotationRepositoryMetadata.getMetadata(repositoryInterface);
62-
6361
RepositoryComposition.RepositoryFragments fragments = JpaRepositoryFragmentsContributor.DEFAULT.describe(metadata);
6462

6563
this.repositoryInformation = new AotRepositoryInformation(metadata, SimpleJpaRepository.class,

0 commit comments

Comments
 (0)