Skip to content

Commit 3db75a6

Browse files
mmerdesrtroilo
authored andcommitted
#470: do not store keytables datasource anymore
1 parent 2515230 commit 3db75a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

oshdb-api/src/main/java/org/heigit/ohsome/oshdb/api/db/OSHDBJdbc.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
public class OSHDBJdbc extends OSHDBDatabase {
3030

3131
protected final DataSource dataSource;
32-
protected final DataSource keytablesSource;
3332
protected final TagTranslator tagTranslator;
3433
private boolean useMultithreading = true;
3534

@@ -39,8 +38,7 @@ public OSHDBJdbc(DataSource source) {
3938

4039
public OSHDBJdbc(DataSource source, DataSource keytables) {
4140
this.dataSource = source;
42-
this.keytablesSource = keytables;
43-
this.tagTranslator = new JdbcTagTranslator(keytablesSource);
41+
this.tagTranslator = new JdbcTagTranslator(keytables);
4442
}
4543

4644
@Override

0 commit comments

Comments
 (0)