cosmetic
This commit is contained in:
parent
aec2061f68
commit
8baa0b608b
1 changed files with 5 additions and 6 deletions
|
@ -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…
Reference in a new issue