Browse Source

Change visibility of JdbcRepositoryFactoryBean setters.

Setters of the FactoryBean are now public.

Closes #1031
pull/1035/head
Christoph Strobl 4 years ago committed by Jens Schauder
parent
commit
61f45bcc20
No known key found for this signature in database
GPG Key ID: 45CC872F17423DBF
  1. 6
      spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/support/JdbcRepositoryFactoryBean.java

6
spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/support/JdbcRepositoryFactoryBean.java

@ -64,7 +64,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
* *
* @param repositoryInterface must not be {@literal null}. * @param repositoryInterface must not be {@literal null}.
*/ */
protected JdbcRepositoryFactoryBean(Class<? extends T> repositoryInterface) { public JdbcRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
super(repositoryInterface); super(repositoryInterface);
} }
@ -96,7 +96,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
} }
@Autowired @Autowired
protected void setMappingContext(RelationalMappingContext mappingContext) { public void setMappingContext(RelationalMappingContext mappingContext) {
Assert.notNull(mappingContext, "MappingContext must not be null"); Assert.notNull(mappingContext, "MappingContext must not be null");
@ -105,7 +105,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
} }
@Autowired @Autowired
protected void setDialect(Dialect dialect) { public void setDialect(Dialect dialect) {
Assert.notNull(dialect, "Dialect must not be null"); Assert.notNull(dialect, "Dialect must not be null");

Loading…
Cancel
Save