added tests, preparing submission confirmation
This commit is contained in:
@@ -86,6 +86,12 @@ public class Configuration {
|
||||
return new File((String) locations.get(DB));
|
||||
}
|
||||
|
||||
public Configuration dbFile(File dbFile){
|
||||
var locations = locations();
|
||||
locations.put(DB,dbFile.toString());
|
||||
return this;
|
||||
}
|
||||
|
||||
public int serverPort() {
|
||||
if (!data.containsKey(PORT)) data.put(PORT,80L);
|
||||
var o = data.get(PORT);
|
||||
|
||||
Reference in New Issue
Block a user