main
Jörg Prante 2 years ago
parent aec2061f68
commit 8baa0b608b

@ -26,17 +26,16 @@ public class DatabaseImpl implements Database {
private final Options options;
public DatabaseImpl(Connection connection, Options options) {
this.connection = connection;
this.options = options;
}
public DatabaseImpl(Flavor flavor) {
this(new OptionsDefault(flavor));
}
public DatabaseImpl(Options options) {
this.connection = null;
this(null, options);
}
public DatabaseImpl(Connection connection, Options options) {
this.connection = connection;
this.options = options;
}

Loading…
Cancel
Save