Merge "Remove dead code trying to default to JDBC"
This commit is contained in:
@@ -87,11 +87,7 @@ public final class DataSourceProvider implements Provider<DataSource>,
|
|||||||
|
|
||||||
if (url == null || url.isEmpty()) {
|
if (url == null || url.isEmpty()) {
|
||||||
if (type == null) {
|
if (type == null) {
|
||||||
if (url != null && !url.isEmpty()) {
|
type = Type.H2;
|
||||||
type = Type.JDBC;
|
|
||||||
} else {
|
|
||||||
type = Type.H2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user