Commit 1c665219 authored by Luna Riegel's avatar Luna Riegel
Browse files

Refactor: Rename properties

parent baac7ded
......@@ -44,13 +44,13 @@ public final class DataBaseSettings {
logger.debug("No database settings found, using default configuration");
return defaultConfig;
}
String name = props.getProperty("name");
String directory = props.getProperty("directory");
String poolSizeString = props.getProperty("poolSize");
String inMemoryModeString = props.getProperty("inMemoryMode");
String attemptFallbackString = props.getProperty("attemptFallback");
String debugModeString = props.getProperty("debugMode");
String tempModeString = props.getProperty("tempMode");
String name = props.getProperty("database.name");
String directory = props.getProperty("database.directory");
String poolSizeString = props.getProperty("database.connectionPoolSize");
String inMemoryModeString = props.getProperty("database.inMemoryMode");
String attemptFallbackString = props.getProperty("database.attemptFallback");
String debugModeString = props.getProperty("database.debugMode");
String tempModeString = props.getProperty("database.tempMode");
boolean inMemoryMode = Boolean.parseBoolean(inMemoryModeString);
boolean attemptFallback = attemptFallbackString == null || Boolean.parseBoolean(attemptFallbackString);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment