Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
1c665219
Commit
1c665219
authored
Dec 10, 2025
by
Luna Riegel
Browse files
Refactor: Rename properties
parent
baac7ded
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/database/DataBaseSettings.java
View file @
1c665219
...
@@ -44,13 +44,13 @@ public final class DataBaseSettings {
...
@@ -44,13 +44,13 @@ public final class DataBaseSettings {
logger
.
debug
(
"No database settings found, using default configuration"
);
logger
.
debug
(
"No database settings found, using default configuration"
);
return
defaultConfig
;
return
defaultConfig
;
}
}
String
name
=
props
.
getProperty
(
"name"
);
String
name
=
props
.
getProperty
(
"
database.
name"
);
String
directory
=
props
.
getProperty
(
"directory"
);
String
directory
=
props
.
getProperty
(
"
database.
directory"
);
String
poolSizeString
=
props
.
getProperty
(
"
p
oolSize"
);
String
poolSizeString
=
props
.
getProperty
(
"
database.connectionP
oolSize"
);
String
inMemoryModeString
=
props
.
getProperty
(
"inMemoryMode"
);
String
inMemoryModeString
=
props
.
getProperty
(
"
database.
inMemoryMode"
);
String
attemptFallbackString
=
props
.
getProperty
(
"attemptFallback"
);
String
attemptFallbackString
=
props
.
getProperty
(
"
database.
attemptFallback"
);
String
debugModeString
=
props
.
getProperty
(
"debugMode"
);
String
debugModeString
=
props
.
getProperty
(
"
database.
debugMode"
);
String
tempModeString
=
props
.
getProperty
(
"tempMode"
);
String
tempModeString
=
props
.
getProperty
(
"
database.
tempMode"
);
boolean
inMemoryMode
=
Boolean
.
parseBoolean
(
inMemoryModeString
);
boolean
inMemoryMode
=
Boolean
.
parseBoolean
(
inMemoryModeString
);
boolean
attemptFallback
=
attemptFallbackString
==
null
||
Boolean
.
parseBoolean
(
attemptFallbackString
);
boolean
attemptFallback
=
attemptFallbackString
==
null
||
Boolean
.
parseBoolean
(
attemptFallbackString
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment