We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a250b58 commit b8648f4Copy full SHA for b8648f4
src/common/codeine/db/mysql/DbUtils.java
@@ -34,19 +34,12 @@ public class DbUtils {
34
private DBConnection dbConnection = new DBConnection();
35
private Map<String, String> connectionsPool = Maps.newConcurrentMap();
36
37
- @Inject
38
private MysqlHostSelector hostSelector;
39
-
40
41
private GlobalConfigurationJsonStore globalConfigurationJsonStore;
42
43
- public DbUtils() {
44
- super();
45
- init();
46
- }
47
48
+ @Inject
49
public DbUtils(MysqlHostSelector hostSelector, GlobalConfigurationJsonStore globalConfigurationJsonStore) {
+ super();
50
this.hostSelector = hostSelector;
51
this.globalConfigurationJsonStore = globalConfigurationJsonStore;
52
init();
0 commit comments