Change visibility of Reactive/MongoRepositoryFactoryBean setters.
Setters of the FactoryBean should be public. Closes: #3779 Original pull request: #3780.
This commit is contained in:
committed by
Mark Paluch
parent
c48daa6d56
commit
39f5f91261
@@ -70,7 +70,7 @@ public class MongoRepositoryFactoryBean<T extends Repository<S, ID>, S, ID exten
|
|||||||
* @see org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport#setMappingContext(org.springframework.data.mapping.context.MappingContext)
|
* @see org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport#setMappingContext(org.springframework.data.mapping.context.MappingContext)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void setMappingContext(MappingContext<?, ?> mappingContext) {
|
public void setMappingContext(MappingContext<?, ?> mappingContext) {
|
||||||
|
|
||||||
super.setMappingContext(mappingContext);
|
super.setMappingContext(mappingContext);
|
||||||
this.mappingContextConfigured = true;
|
this.mappingContextConfigured = true;
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ public class ReactiveMongoRepositoryFactoryBean<T extends Repository<S, ID>, S,
|
|||||||
* @see org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport#setMappingContext(org.springframework.data.mapping.context.MappingContext)
|
* @see org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport#setMappingContext(org.springframework.data.mapping.context.MappingContext)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void setMappingContext(MappingContext<?, ?> mappingContext) {
|
public void setMappingContext(MappingContext<?, ?> mappingContext) {
|
||||||
|
|
||||||
super.setMappingContext(mappingContext);
|
super.setMappingContext(mappingContext);
|
||||||
this.mappingContextConfigured = true;
|
this.mappingContextConfigured = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user