Make DefaultLockRepository constructor public
Otherwise you can't create an instance of it in @Configuration.
This commit is contained in:
@@ -76,7 +76,7 @@ public class DefaultLockRepository implements LockRepository, InitializingBean {
|
||||
|
||||
|
||||
@Autowired
|
||||
DefaultLockRepository(DataSource dataSource) {
|
||||
public DefaultLockRepository(DataSource dataSource) {
|
||||
this.template = new JdbcTemplate(dataSource);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user