@@ -110,7 +110,7 @@ public abstract class RepositoryFactorySupport
110
110
CONVERSION_SERVICE .removeConvertible (Object .class , Object .class );
111
111
}
112
112
113
- private final Map <RepositoryInformationCacheKey , RepositorySub > repositoryInformationCache ;
113
+ private final Map <RepositoryInformationCacheKey , RepositoryStub > repositoryInformationCache ;
114
114
private final List <RepositoryProxyPostProcessor > postProcessors ;
115
115
116
116
private @ Nullable Class <?> repositoryBaseClass ;
@@ -352,7 +352,7 @@ public <T> T getRepository(Class<T> repositoryInterface, RepositoryFragments fra
352
352
repositoryInterface );
353
353
repositoryCompositionStep .tag ("fragment.count" , String .valueOf (fragments .size ()));
354
354
355
- RepositorySub stub = getRepositoryStub (metadata , fragments );
355
+ RepositoryStub stub = getRepositoryStub (metadata , fragments );
356
356
RepositoryComposition composition = stub .composition ();
357
357
RepositoryInformation information = stub .information ();
358
358
@@ -488,7 +488,7 @@ protected RepositoryInformation getRepositoryInformation(RepositoryMetadata meta
488
488
}
489
489
490
490
/**
491
- * Returns the cached {@link RepositorySub } for the given repository and composition. {@link RepositoryMetadata} is a
491
+ * Returns the cached {@link RepositoryStub } for the given repository and composition. {@link RepositoryMetadata} is a
492
492
* strong cache key while {@link RepositoryFragments} contributes a light-weight caching component by using only the
493
493
* fragments hash code. In a typical Spring scenario, that shouldn't impose issues as one repository factory produces
494
494
* only a single repository instance for one repository interface. Things might be different when using various
@@ -498,7 +498,7 @@ protected RepositoryInformation getRepositoryInformation(RepositoryMetadata meta
498
498
* @param fragments
499
499
* @return
500
500
*/
501
- private RepositorySub getRepositoryStub (RepositoryMetadata metadata , RepositoryFragments fragments ) {
501
+ private RepositoryStub getRepositoryStub (RepositoryMetadata metadata , RepositoryFragments fragments ) {
502
502
503
503
RepositoryInformationCacheKey cacheKey = new RepositoryInformationCacheKey (metadata , fragments );
504
504
@@ -512,7 +512,7 @@ private RepositorySub getRepositoryStub(RepositoryMetadata metadata, RepositoryF
512
512
513
513
Class <?> baseClass = repositoryBaseClass != null ? repositoryBaseClass : getRepositoryBaseClass (metadata );
514
514
515
- return new RepositorySub (new DefaultRepositoryInformation (metadata , baseClass , composition ), composition );
515
+ return new RepositoryStub (new DefaultRepositoryInformation (metadata , baseClass , composition ), composition );
516
516
});
517
517
}
518
518
}
@@ -803,7 +803,7 @@ public List<QueryMethod> getQueryMethods() {
803
803
* @author Mark Paluch
804
804
* @since 3.4.4
805
805
*/
806
- record RepositorySub (RepositoryInformation information , RepositoryComposition composition ) {
806
+ record RepositoryStub (RepositoryInformation information , RepositoryComposition composition ) {
807
807
808
808
}
809
809
0 commit comments